[arch-general] C++ program compiliation failed
Frank Thieme
frank at fthieme.net
Sun Nov 14 19:24:36 CET 2010
On Sunday 14 November 2010 18:59:28 Nilesh Govindarajan wrote:
> How am I supposed to compile the program? i.e. in general a multifile
> program having .hs and .cpps
I should work the way you did. I guess you have an error in your source code.
The oder method would be:
g++ -c main.cpp
g++ -c querystring.cpp
g++ -o out main.o querystring.o
Bye...Frank
More information about the arch-general
mailing list