Main Page   Related Pages  

cccl Usage

cccl is a wrapper around Microsoft's cl.exe. It converts traditional Unix cc command line parameters to their cl.exe equivalents.

Also, cc on Unix serves as a front end to the compiler and the linker. cl.exe, however, is mainly on the compiler (it does support a limited compile and link). The Microsoft linker, link.exe, usually must be invoked explicitly. cccl attempts to choose whether it should invoke cl.exe or link.exe, adjusting the command line parameters as appropriate. It probably does not do a very good job of this, but it seems to work in most common cases. Trying to compile and link in a single step will probably make cccl very confused.

Options

The following options are understood by cccl:

All other options are passed untouched to either cl.exe or link.exe

cccl will give options to cl.exe to correctly compile C++ source files even if they don't have a .cpp extension (.cc, .cxx, or .C).

If any object file (.o, .obj) or library file (.a, .lib) is seen in the command line, cccl will invoke link.exe.


Generated on Fri Jan 24 10:15:22 2003 for cccl by doxygen1.2.16