Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper/ExoSpace 1.0g - <b>compiling</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Compiling
------------------------------------------------------------------------------

     With the Borland C++ files within your PATH environment variable, use a
     command like this one to compile your program:

     bcc -c -ml -2 -f- -X hello.c

     This example uses the following compiler options (after compiling, you
     will have a file named HELLO.OBJ):

 -c

     Compile only--prevents the compiler from automatically invoking the
     linker.  This option is required.

 -ml

     Specifies large memory model.  This is required to ensure compatibility
     with CA-Clipper.

 -2

     Generates 286 instructions.  If the object code you are producing will
     only be included in a CA-Clipper/ExoSpace version of your program, this
     option is recommended for improved performance.

 -f-

     Specifies that the program contains no floating point calculations.
     Borland's floating point support is incompatible with CA-Clipper's, so
     use of this option is required.

 -X

     Suppresses auto dependency output.  This information is only useful to
     other Borland utilities and can be suppressed, resulting in smaller .OBJ
     files.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson