delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/09/19:55:43

Message-ID: <002001beb2d2$fce07f80$137f9cd1@oemcomputer>
From: "Yogesh Sharma" <SHARMAYOGESH AT prodigy DOT net>
To: <djgpp AT delorie DOT com>
References: <7jjtkc$4ts$1 AT news DOT netway DOT at> <375DAE01 DOT 3B3FC75 AT cartsys DOT com>
Subject: Re: Beginner question
Date: Wed, 9 Jun 1999 19:51:23 -0400
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2014.211
Reply-To: djgpp AT delorie DOT com

Hi

What are the header file that you are including ?

GCC is the only compiler (front end for comiler) to compile C, C++, Object
C, .........

That error message means that you are not having proper libraries to link
with !

Thanks


----- Original Message -----
From: Nate Eldredge <nate AT cartsys DOT com>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Tuesday, June 08, 1999 7:57 PM
Subject: Re: Beginner question


> 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