This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: can't build gcc-2.95.2 on SCO OSR 5.0.5
- To: robertlipe at usa dot net
- Subject: Re: can't build gcc-2.95.2 on SCO OSR 5.0.5
- From: "log sharp" <sharplog at hotmail dot com>
- Date: Fri, 23 Feb 2001 12:02:31 +0800
- Cc: gcc-faq at gcc dot gnu dot org, gcc at gcc dot gnu dot org
RJL, thank you for your reply. I have rebuilt gcc following what you said,
but it raise the same message:
/usr/gcc-install/gcc-build/gcc/xgcc
-B/usr/gcc-install/gcc-build/gcc/
-B/usr/gcc-2952/i386-pc-sco3.2v5.0.5/bin/ -c -DHAVE_CONFIG_H -g -mcoff -I.
-I..
/../../../gcc-2.95.2/libiberty/../include -fpic
../../../../gcc-2.95.2/libibert
y/argv.c -o pic/argv.o
xgcc: -fpic is not valid with -mcoff
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
How can I get off the flag '-moff'? I think that flag is unuseful.
>From: Robert Lipe <robertlipe@usa.net>
>To: log sharp <sharplog@hotmail.com>
>CC: gcc-faq@gcc.gnu.org, gcc@gcc.gnu.org
>Subject: Re: can't build gcc-2.95.2 on SCO OSR 5.0.5
>Date: Thu, 22 Feb 2001 11:55:54 -0600
>
> > I did the following on SCO OSR 5.0.5 for building gcc-2.95.2:
> >
> > 1)install rs505a and oss499a, reboot my system.
> >
> > 2)run configure
> > # ../gcc-2.95.2/configure --prefix=/usr/gcc-2952 --enable-shared
> > --enable-threads
>
>
>Don't do that as root.
>
>enable-threads is nonsensical on OpenServer and may be the root of your
>evils. I can't say I've tried it. I do know that 2.95.2 without that
>flag does indeed bootstrap on 5.0.6.
>
>RJL
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.