www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/26/18:09:59.1

Sender: nate AT cartsys DOT com
Message-ID: <36856C2B.AAA3CD74@cartsys.com>
Date: Sat, 26 Dec 1998 15:07:23 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Undefined Reference
References: <3683d3bc DOT 0 AT d2o40 DOT telia DOT com>
Reply-To: djgpp AT delorie DOT com

Patrik Jakobsson wrote:
> 
> I installed DJGPP but can't get the C++ compiler to work. I get messages
> like:
> c:/djgpp/tmp\ccci25oj(.text+0x19):hel.cc: undefined reference to `cout'
> c:/djgpp/tmp\ccci25oj(.text+0x1e):hel.cc: undefined reference to
> `ostream::operator<<(char const *)'
> How can I fix this?

Use the `gxx' command to link C++, like the documentation says.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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