OPTIONS:

Compiling:
 /nologo /MLd /W3 /Gm /GX /Zi /Od /D "WIN32" 
 /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" 
 /Fp"Debug/stats.pch" /YX /Fo"Debug/" 
 /Fd"Debug/" /FD /c 

Linking:
 kernel32.lib user32.lib gdi32.lib winspool.lib 
 comdlg32.lib advapi32.lib shell32.lib ole32.lib 
 oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
 /nologo /subsystem:console /incremental:yes 
 /pdb:"Debug/stats.pdb" /debug /machine:I386 
 /out:"Debug/stats.exe" /pdbtype:sept

--------------------------------------------------------------------------------
Compiling:
 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86
 Copyright (C) Microsoft Corp 1984-1997. All rights reserved.

 usage: cl [ option... ] filename... [ /link linkoption... ]
 
 /nologo       Suppresses display of sign-on banner
 /MLd          Creates a debug single-threaded executable file,
               using LIBCD.LIB
 /Wlevel       Sets warning level
 /Gm           Enables minimal rebuild
 /GX[_]        Enables synchronous exception handling
 /Zi           Generates complete debugging information
 /Od           Disables optimization
 /Dname[= | # [{string | number}] ] 
               Defines constants and macros
 /Fpfilename   Specifies a precompiled header file name
 /YX           Automates precompiled header
 /Fofilename   Creates an object file
 /Fdfilename   Renames program database file
 /c            Compiles without linking

Linking:
 Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
 Copyright (C) Microsoft Corp 1992-1997. All rights reserved.

 usage: LINK [options] [files] [@commandfile]
 
 /NOLOGO       Suppresses startup banner
 /SUBSYSTEM:{CONSOLE| WINDOWS| NATIVE| POSIX} [,major[.minor] ]
               Tells the operating system how to run the .EXE file
 /INCREMENTAL:{YES|NO}
               Controls incremental linking
 /PDB:filename Creates a program database (.PDB) file
 /DEBUG        Creates debugging information
 /MACHINE:{IX86|MIPS|ALPHA|PPC|MPPC}
               Specifies the target platform
 /OUT:filename Specifies the output file name
 /PDBTYPE:{con[solidate]|sept[ypes]}
               Specifies where to store the Program Database 
               (PDB) debug type information.






Interesting options:

Compiling:
 /E            Copies preprocessor output to standard output 
 /EP           Copies preprocessor output to standard output
 /FA[c|s]      Creates a listing file
 /Fa           Sets listing file name
 /Fefilename   Renames the executable file
 /Fm[filename] Creates a map file
 /Fofilename   Creates an object file
 /FR[filename] Generate browser files
 /Fr[filename] Generate browser files
 /GR           Enables run-time type information (RTTI)
 /Idirectory   Searches a directory for include files
 /link option  Passes the specified option to LINK
 /P            Writes preprocessor output to a file
 /Tcfilename   Specifies a C source file
 /TC           Specifies a C source file
 /Tpfilename   Specifies a C++ source file
 /TP           Specifies a C++ source file
 /X            Ignores the standard include directory
 /Ze           Enables language extensions
 /Zs           Checks syntax only (!!! FGG)

Linking:
 /GPSIZE:#     Specifies the size of communal variables 
               for MIPS and Alpha platforms
 /LIBPATH:path Allows the user to override the environmental 
               library path
 /MAP          Creates a map file
 /PROFILE      Enables profiling (creates a mapfile)
 /RELEASE      Sets the checksum in the .EXE header
 /STUB:filename
               Attaches an MS-DOS stub program to a Win32 program
 /VERBOSE[:LIB]
               Prints linker progress messages
 /VERSION:major[.minor]
               Assigns a version number
 /WARN[:level] Specifies warning level

LINK issues error and warning messages in the form LNKnnnn. 
This error prefix and range of numbers is also used by LIB, 
DUMPBIN, and EDITBIN. You can control the display of warnings 
with the /WARN option. See Fix Build Errors for information 
on getting help on error and warning messages.

