www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/14/18:33:29

Date: Sat, 14 Mar 1998 17:31:41 -0600 (CST)
From: Frank Blecha <fb3 AT ksu DOT edu>
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
cc: DJGPP Mailing list <djgpp AT delorie DOT com>
Subject: Re: g++ install problem
In-Reply-To: <350ADF10.29895A7A@gmx.net>
Message-ID: <Pine.SOL.3.96L.980314172449.26173A-100000@fox.ksu.ksu.edu>
MIME-Version: 1.0


On Sat, 14 Mar 1998, Robert Hoehne wrote:

> Frank Blecha wrote :
> > 
> > I've been having a weird problem getting g++ to compile.  With the
> > following program, I get the error msgs listed below.  I don't
> > understand the referencing error it keeps talking about. Any help would
> > be appreciated.
> 
> What do you mean with "getting g++ to compile"? Do you want to compile
> g++ itself or do you want to compile with g++?

Eh...I believe my original post included a simple cc file.  So I want to
compile with g++, sorry if I wasn't clear. ;)

> 
> And here the next questions before we can give definite answers:
> 
> 1) What a version of gcc you are using?
> 2) If it is gcc 2.8.0 have you deinstalled first gcc 2.7.x?
> 3) If it is gcc 2.7.x are you using the -frtti flag?
> 
1. It is 2.8.0
2. Never had 2.7.X
3. see 2

I'm running it with script which has:

redir -o gcc.log -eo g++ -O -I../gcc/lib/gcc-lib/djgpp/2.80
-I../gcc/include -I../gcc/lang/cxx -I../gcc/lang/cxx/std -L../gcc/lib
stltest.cc


and the output is:

../gcc/lib/libstdcxx.a(iostream.o)(.text+0x1b91):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x1cd1):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x1f42):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x2559):iostream.cc: undefined
reference to `__rtti_class'
../gcc/lib/libstdcxx.a(iostream.o)(.text+0x28ad):iostream.cc: undefined
reference to `__rtti_class'

blah, blah, blah.  I don't understand the undefined reference...

> As you can see, you should give us as most as possible details
> because we cannot guess what exactly you did.
> 
> Robert
> -- 
> ******************************************************
> * email:   Robert Hoehne <robert DOT hoehne AT gmx DOT net>     *
> * Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
> * WWW:     http://www.tu-chemnitz.de/~sho/rho        *
> ******************************************************
> 
> 
> 

- Raw text -


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