Friday, February 19, 2010

linker

Turbo C++.

3. Load BGIDEMO.C into the Editor by pressing F3, then typing

BGIDEMO

3. Go to the Run menu and choose the Run item.

Q. How do I create a COM file?

A. DOS versions 3.2 and earlier include an EXE2BIN utility that

converts EXE files to COM files. Users who do not have EXE2BIN can

use TLINK, the Turbo C++ command-line linker, to create a COM file

instead of an EXE file. Use the /t option. For example:

TCC -mt -lt tiny

will create TINY.COM instead of TINY.EXE. The -l switch passes

the /t argument to the linker in this case.

There are certain limitations in converting an EXE file to a COM

file. These limitations are documented in the IBM Disk Operating

System manual under EXE2BIN.

No comments:

Post a Comment