Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>compiling and linking</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   Compiling and Linking

   Using CFTS functions in your Clipper applications does not alter the 
   way you presently compile and link Clipper applications. Compile your 
   application as you would normally; just make sure that a copy of the 
   CFTS library file, CFTS87.LIB or CFTS5.LIB, is available to the linker 
   at link time, and be sure to include CFTS along with CLIPPER and 
   EXTEND in the library specification of your linker's command line.
   
   When linking with CFTS you will also need to include Clipper's 
   EXTEND.LIB library as part of the library specification to your 
   linker. Because CFTS uses Clipper's Extend System to interface with 
   your Clipper application, it relies on certain internal Clipper 
   functions contained in the EXTEND.LIB file. Consequently, even if your 
   application did not previously require the EXTEND library to link 
   properly, you will need to include EXTEND.LIB as part of the command 
   line you give to the linker.

   If you already keep your library files in a single directory and use a 
   DOS environmental variable to point to that directory, just copy 
   CFTS87.LIB or CFTS5.LIB to that directory. Otherwise, make sure there 
   is a copy of the appropriate LIB in the directory in which you are 
   compiling and linking your program.

   For example, assume that you have an existing application called SALES 
   and that you have now enhanced it with the CFTS system. Whereas, using 
   Microsoft's LINK.EXE, your old link command line would have read 
   something like:

        link sales,,nul,Clipper /EXEPACK /SEG:300 /NOE;

   You now need to change it to read:

        link sales,,nul,clipper+extend+cfts /EXEPACK/SEG:300 /NOE;

   CFTS87.LIB and CFTS5.LIB have been tested with current versions of the 
   Microsoft linker as well as with the Phoenix linker, PLINK86-PLUS, the 
   version of RTLink bundled with Clipper, Blinker and Warplink. If you 
   have trouble using CFTS with other linkers, please notify us so that 
   we can resolve the problem.

   When you find yourself using the CFTS functions regularly, you may 
   want to combine the CFTS library and EXTEND.LIB into a single library 
   by using a library management program such as Microsoft's LIB.EXE. 
   Combining libraries eliminates the need to explicitly specify CFTS 
   each time you link, and it will reduce link times slightly since the 
   linker will not have to open and search an additional library file. 
   See the sample MAKE files on the distribution diskette for examples of 
   link scripts for most popular linkers.


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