delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/08/17:16:32

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems
Date: Sun, 08 Mar 1998 16:49:11 +0200
Organization: Communications Accessibles Montreal, Quebec Canada
Lines: 10
Message-ID: <3502AFE7.3FB6@cam.org>
References: <3503100B DOT 1B72B57B AT jove DOT acs DOT unt DOT edu>
NNTP-Posting-Host: dialup-575.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Tim Faehnle wrote:
> C:\DJGPP\BIN\gcc -g -o test test.cc
> c:/djgpp/tmp\ccdaaaaa:  In function 'main':
> test.cc:12:  undefined reference to 'cout'
> test.cc:(.text+0x49): undefined reference to
> 'ostream::operator<<(double)'
you are not linking the library.
try gxx -g -o test test.cc 
-- 
--> http://www.cam.org/~tudor <--

- Raw text -


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