Mail Archives: djgpp/2003/08/11/20:14:52
"David Kobilnyk" wrote:
> This is what I entered in DOS:
>
> chdir C:\My Programs
> gcc ideclare.o -o ideclare.exe
>
> And here's the errors:
>
[linking errors snipped]
You need to link in the C++ standard library. The
easiest way to do that is substitute gpp for gcc in
your command line above:
gpp ideclare.o -o ideclare.exe
or, to save a step, assuming your source file is
ideclare.cpp:
gpp -Wall -W ideclare.cpp -o ideclar.exe
Best regards,
Tom
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
- Raw text -