Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - the use of the<b> watcom</b> environment variable and the watcom linker "system" http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The use of the WATCOM environment variable and the Watcom Linker "SYSTEM"
directive is recommended over the use of this environment variable.

If you are developing a 32-bit Windows or DOS Extender application, the
LIBPHAR environment variable must include the location of the 32-bit Watcom
C/C++ DOS Extender library files or the 32-bit Watcom C/C++ Windows library
files (files with the ".lib" filename extension).  This variable is used by
the Watcom Linker (WLINK.EXE).  The default installation directory for the
32-bit Watcom C/C++ DOS Extender libraries is \WATCOM\LIB386\DOS.  The
default installation directory for the 32-bit Watcom C/C++ Windows libraries
is \WATCOM\LIB386\WIN.  The LIBPHAR environment variable must also include
the location of the 32-bit Watcom C/C++ math library files.  The default
installation directory for the 32-bit Watcom C/C++ math libraries is
\WATCOM\LIB386.

Example:

     C>set libphar=c:\watcom\lib386\dos;c:\watcom\lib386
         or
     C>set libphar=c:\watcom\lib386\win;c:\watcom\lib386

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