Mailinglist Archive: opensuse (4749 mails)

< Previous Next >
Re: [SLE] How to build gcc 3.x on a SuSE 7.3 sparc system?
  • From: Christian Andersson <chrisand@xxxxxxxxx>
  • Date: Sun, 25 May 2003 15:31:08 +0200
  • Message-id: <200305251531.08585.chrisand@xxxxxxxxx>
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?

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.

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

--
Ch


< Previous Next >
Follow Ups
References