delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/07/21:13:38

From: "George Xu" <gxu AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: djgpp doesn't compile right
Date: 7 Jan 1997 19:25:40 GMT
Organization: Home Office
Lines: 25
Message-ID: <01bbfb1f$50d1b820$51412299@ttt>
NNTP-Posting-Host: cust111.max9.newark.nj.ms.uu.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi, 

The Djgpp compiler works  for c programs, but doesn't seem to work
with c++ programs. I downloaded and installed all the files which are said
to 
be necessary to compile c++ programs. 

The following is a gcc.log I got, if you have the compiler worked, please
help.
Thanks in advance, 

c:/djgpp/tmp\ccdaaaaa(.text+0x1a):ex1.cc: undefined referenced to
'endl(ostream &)'
c:/djgpp/tmp\ccdaaaaa(.text+0x24):ex1.cc: undefined referenced to 'cout'
c:/djgpp/tmp\ccdaaaaa(.text+0x29):ex1.cc: undefined referenced to
'ostream::operator<<(char const *) '

george
gxu AT earthlink DOT net
:-)





- Raw text -


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