g++.exe "C:\WINDOWS\Profiles\noorez\Desktop\main.cpp" -o
"C:\WINDOWS\Profiles\noorez\Desktop\main.exe"
-I"C:\DEV-CPP\include\c++\3.3.1" -I"C:\DEV-CPP\include\c++\3.3.1\mingw32"
-I"C:\DEV-CPP\include\c++\3.3.1\backward"
-I"C:\DEV-CPP\lib\gcc-lib\mingw32\3.3.1\include" -I"C:\DEV-CPP\include"
-L"C:\DEV-CPP\lib" -L"C:\WINDOWS\Profiles\noorez\Desktop\myfunc" lmyf.a
I took that stuff from the compile log and copied it to a batch file and
used it call the compiler.
It worked. When I use dev-cpp, it returns the error:
g++.exe: lmyf.a: No such file or directory
_________________________________________________________________
MSN® Calendar keeps you organized and takes the effort out of scheduling
get-togethers.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
|