Date: Sat, 14 Mar 1998 17:31:41 -0600 (CST) From: Frank Blecha To: Robert Hoehne cc: DJGPP Mailing list Subject: Re: g++ install problem In-Reply-To: <350ADF10.29895A7A@gmx.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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 * > * Post: Am Berg 3, D-09573 Dittmannsdorf, Germany * > * WWW: http://www.tu-chemnitz.de/~sho/rho * > ****************************************************** > > >