delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/25/03:38:14

Message-ID: <20001025061123.57885.qmail@web9504.mail.yahoo.com>
Date: Tue, 24 Oct 2000 23:11:23 -0700 (PDT)
From: Nimrod Abing <n_a_abing AT yahoo DOT com>
Subject: Re: Undefined Reference to "cout" in Hello.cpp
To: djgpp AT delorie DOT com
Cc: demibee AT post DOT com
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

--- demibee <demibee AT post DOT com> wrote:
> I've been using DJGPP as a backup C/C++ compiler for a year or so.
> Last night I downloaded the most recent ZIPs for use in DOS.  I'm
> finding that I have no trouble with C programs.  C++ is a different
> story.  Using...
> 
> C:\> gcc hello.cpp -o hello.exe

Try:
       gcc hello.cpp -o hello.exe -lstdcxx

or,

       gxx hello.cpp -o hello.exe



=====
_nimrod_a_abing_

+------------------------------------------------------------+
| Homepage: http://www.geocities.yahoo.com/n_abing/index.htm |
+------------------------------------------------------------+

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

- Raw text -


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