cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/13/04:20:24

Date: Mon, 13 Jul 1998 11:18:45 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Heikki Leskinen <hege DOT leskinen AT pp DOT inet DOT fi>
cc: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: Problem with C++ compilation
In-Reply-To: <01BDADE6.2F085340.hege.leskinen@pp.inet.fi>
Message-ID: <Pine.SUN.3.91.980713111334.323L-100000@is>
MIME-Version: 1.0

On Sun, 12 Jul 1998, Heikki Leskinen wrote:

> C:\cgg test.cpp -o test.exe
> c:/djgpp/tmp\cccipkzk(.text+0x11) :test.cpp undefined referesce to 'cout'
> c:/djgpp/tmp/ccc1pkzk(.text+0x16) :test.cpp undefined referesce to 
> 'ostream::oper
> ator<<(char const *)'
> C:\_

Please read the README.1ST file.  It explains that for C++ programs you 
need to invoke gxx, not gcc, or mention the C++ libraries on the command 
line.

> Using builtin specs.
  ^^^^^^^^^^^^^^^^^^^
Bad sign.  This means you haven't set your DJGPP environment variable 
correctly.  See README.1ST for details.

It is strange, since your environment listing indicates that DJGPP *is* 
set.  But AFAIK, using builtin specs is not how GCC should work in DJGPP.

- Raw text -


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