can't build gcc-2.95.2 on SCO OSR 5.0.5
log sharp
sharplog@hotmail.com
Thu Feb 22 23:25:00 GMT 2001
Hi, RJL
At http://gcc.gnu.org/install/specific.html#ix86-*-sco3.2v5* , I find this
message:"Unlike earlier versions of GCC, the ability to generate COFF with
this target is no longer provided." So I used --disable-multilib to
configure gcc and have built it successfully. Thank you!
But when I compiled my software with gcc, I found that it can't deal with
template class well.It noted me like:
......
TypeCode.o: fatal error: symbol `ObjVar<CORBA_TypeCode>::inout(void)`
multiply
-defined, also in file Any.o
collect2: ld returned 1 exit status
My software can be compiled successfully on linux with gcc-2.95.2. I think
there is something wrong when I built gcc on SCO. What I did are:
$ ../gcc-2.95.2/configure --prefix=/usr/gcc-2952 --enable-shared
--disable-multilib
$ make bootstrap
$ make install
What's your advice about this?
>
>
>-mcoff isn't unuseful to everyone. By default, 2.95.2 for OpenServer
>will allow both generation ELF and COFF. But -mcoff and -fpic don't go
>together. By default, 2.95.2 does not build libiberty with -mcoff and
>-fpic, so there's something going on in your local configuration.
>
>Please provide your precise configure and bootstrap lines.
>
>If you just absolutely don't want coff support, I think that 2.95 will
>allow you to pass --disable-multilib and that should whack the COFF
>stuff completely. But it's not a heavily tested flag...
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .
More information about the Gcc
mailing list