Mailinglist Archive: opensuse (4749 mails)

< Previous Next >
Re: [SLE] How to build gcc 3.x on a SuSE 7.3 sparc system?
  • From: David List <david@xxxxxxxxxxxx>
  • Date: Sun, 25 May 2003 16:07:50 +0200 (CEST)
  • Message-id: <Pine.LNX.4.44.0305251600190.5477-100000@xxxxxxxxxxxx>
On Sun, 25 May 2003, Christian Andersson wrote:

>On Sunday 25 May 2003 15:12, David List wrote:
>> # cd ~/packages
>> # tar -xvzf gcc-3.2.2.tar.gz
>> # mkdir objdir
>> # cd objdir
>> # ../gcc-3.2.2/configure --prefix=/usr/local --enable-threads=posix
>> --enable-languages=c,c++ > ~/configure_output 2>&1 &
>> # make -j4 > ~/make_output 2>&1 &
>>
>> I will try the 'bootstrap' make option now and return again.
>
>Seems like you libc is not compatible with the new compiler. What is your
>default version of gcc? 2.95.3?

Yes.

>This text might be interesting: (http://gcc.gnu.org/install/specific.html)
>
>sparc-*-linux*
>GCC versions 3.0 and higher require binutils 2.11.2 and glibc 2.2.4 or newer
>on this platform. All earlier binutils and glibc releases mishandled
>unaligned relocations on sparc-*-* targets.

glibc is the default SuSE Linux 7.3 version: 2.2.4-20.
binutils is the default SuSE Linux 7.3 version: 2.11.90.0.29-14

>Furthermore, I'd suggest that you first simplify things by omitting the C++
>target. You can build that later when the C compiler works.

I'll try that.

Best regards,
David List


< Previous Next >
References