|
Home > Archive > Unix Programming > January 2006 > Compiling a Visual Studio project in Unix using gcc/icc
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Compiling a Visual Studio project in Unix using gcc/icc
|
|
|
| hi
I m trying to compile my Visual Studio project using icc on a unix
machine.
I have couple of problems. I have three files 1)MainPEG.cpp 2) Cyc.cpp
3) Big.cpp
i have made object files of all these three
But once i try to make executible for these, it gives error 'problem
during multi file compilation optimzation'
I am using following command:
[vbcol=seagreen]
or without O3.
secondly, MainPEG.cpp accepts command line arguments which need to be
passed to it during compilation. How to pass them?
e.g something like:
MainPEG -numM 252 -numN 504 -codeName irReg504252.dat -degFileName
DenEvl_15.deg
?
suggestions ?
| |
|
| wel, i got i guess. I wasnt mentioning -o before result and
../result -numM rather than MainPEG -numM
|
|
|
|
|