From: Earnie B. <ea...@us...> - 2003-10-19 16:32:32
|
Gisle Vanem wrote: > Why is it that I cannot seem to compile and link in one step > when I specify C++ language. Example: > > gcc -x c++ -O2 -g -Wall -D_WIN32 -I../crawler -o test.exe \ > test.cc ../libcrawler.a -lws2_32 -lstdc++ > Try ``g++ -O2 -g -Wall -D_WIN32 -I../crawler -o test.exe test.cc \ -L.. -lcrawler -lws2_32'' Earnie -- http://www.mingw.org Powered by SourceForge <http://sourceforge.net/projects/mingw> |