failed complie for the 1st C++ program

John Love-Jensen eljay@adobe.com
Wed Feb 5 13:16:00 GMT 2003


Hi Etc Waju,

Did your compile line look something like this...

g++ -o myapp foo.cpp

...then something is awry, because that should work.  Unless your libraries
are not located where the compiler thinks they're located.

If it looked like this...

gcc -o myapp foo.cpp

...then that should fail, because you are using "gcc" instead of "g++".

--Eljay 



More information about the Gcc-help mailing list