Borland C++ 4.52 Question (I NEED HELP!)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
netster403

Borland C++ 4.52 Question (I NEED HELP!)

Post by netster403 »

is it possable to make a raw binary file
with Borland C+ 4.52?(a file like -o with NASM)
i thought id find out before i started programing
w/it.
Chris Giese

RE:Borland C++ 4.52 Question (I NEED HELP!)

Post by Chris Giese »

>On 2002-01-08 19:57:04, netster403 wrote:
>is it possable to make a raw binary file
>with Borland C+ 4.52?(a file like -o with NASM)
>i thought id find out before i started programing
>w/it.

I think so, but TLINK is not as flexible as GNU ld. You must
1. use /t option with TLINK
2. give the output file a .BIN extension

The start address (ORG value) is set in the TASM startup code, not in a linker script.

Note that I did this only with 16-bit code.
Post Reply