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<b> tmp</b> environment variable describes the location (disk and path) for http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The TMP environment variable describes the location (disk and path) for
temporary files created by the 16-bit Watcom C/C++ and 32-bit Watcom C/C++
compilers and the Watcom Linker.


     SET TMP=[d:][path]

Normally, Watcom C/C++ will create temporary spill files in the current
directory.  However, by defining the TMP environment variable to be a
certain disk and directory, you can tell Watcom C/C++ where to place its
temporary files.  The same is true of the Watcom Linker temporary file.

Consider the following definition of the TMP environment variable.

Example:

     C>set tmp=d:\watcom\tmp

The Watcom C/C++ compiler and Watcom Linker will create its temporary files
in D:\WATCOM\TMP.

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