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


Compiling

   To compile a Microsoft C 5.0 routine that can be linked with Clipper
   Summer '87, use the following syntax:

   C>CL /c /AL /Zl /Oalt /FPa /Gs <filename>.c

   where:

    CL    =  the compiler command
    /c    =  (c)ompile without linking
    /AL   =  set program configuration for (L)arge model
    /Zl   =  remove default (l)ibrary-search records from object file
    /Oalt =  control optimization

        where:
            a  =  relax alias checking
            l  =  enable loop optimization
            t  =  favor execution speed

    /FPa  =  floating point (a)lternate library
    /Gs   =  remove calls to (s)tack-checking routine


Linking

   Note: Linkers usually process SYMBOLS in uppercase.  Therefore,
   you must use the appropriate case flags for your linker.

   C>PLINK86 FILE <Clipper object>, <`C' object> MIXCASE LIB CLIPPER,
     LLIBCA


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