delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/08/19:58:48

Sender: nate AT cartsys DOT com
Message-ID: <375DAE01.3B3FC75@cartsys.com>
Date: Tue, 08 Jun 1999 16:57:53 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Beginner question
References: <7jjtkc$4ts$1 AT news DOT netway DOT at>
Reply-To: djgpp AT delorie DOT com

Christian Kastner wrote:
> 
> I would like to know if somebody could help me with this problem:
> 
> I always run the "Hello World" program to test a compiler I just installed,
> but in DJGPP's case, I can't compile it, the compiler always says
> 
> C:\WIN\TEMP\cccydbbl(.text+0x15):hello.cpp:undefined reference to 'cout'
> C:\WIN\TEMP\cccydbbl(.text+0x1a):hello.cpp:undefined reference to
> 'ostream::operator<<(char const *)'
> 
> The program works with the Symantec-C++-Compiler, so I guess I goofed up the
> installation somewhere allthough I did it according to the readme-file.

Did you use `gxx' instead of `gcc' to compile?  The readme does say to
do that.

If not, please post the complete command you did use.
 
> I would also like to know which compiler you guys would prefer, Symantec or
> GCC.

This isn't exactly the best place to get an unbiased opinion.  Yes, I
prefer GCC.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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