delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/11/20:14:52

Message-ID: <20030812000935.26825.qmail@web13002.mail.yahoo.com>
Date: Mon, 11 Aug 2003 17:09:35 -0700 (PDT)
From: Thomas Tutone <thomas8675309 AT yahoo DOT com>
Subject: Re: cout command
To: djgpp AT delorie DOT com
Cc: DavidKobilnyk AT msn DOT com
MIME-Version: 1.0

"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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019