Specifying Object Files

You can use the -c and -o options to specify an alternate name for an object file. In this example, the compiler generates an object file named myobj.o:

icpc -c -omyobj.o x.cpp

See Also