www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/29/07:15:20

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems while linking programs--
Date: Wed, 29 Dec 1999 10:23:24 +0200
Organization: NetVision Israel
Lines: 11
Message-ID: <Pine.SUN.3.91.991229102130.11728Q-100000@is>
References: <Fx7a4.470$eq DOT 5577 AT uutiset DOT nic DOT fi>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 946455697 2723 199.203.121.2 (29 Dec 1999 08:21:37 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 29 Dec 1999 08:21:37 GMT
X-Sender: eliz AT is
In-Reply-To: <Fx7a4.470$eq.5577@uutiset.nic.fi>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 28 Dec 1999, Marko Lokkila (Procyon) wrote:

> gcc test.cpp -o test.exe
> 
> I get the following errors:
> 
> f:/djgpp/tmp\ccdaaaaa(.text+0x11):testi.cpp: undefined reference to `cout'

See section 8.7 of the FAQ.  You need to use gxx instead of gcc to link 
C++ programs.  This is also explained in README.1ST.

- Raw text -


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