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 11:47:41 +0200
  • Message-id: <200305251147.41104.chrisand@xxxxxxxxx>
On Sunday 25 May 2003 11:38, David List wrote:
> # cd gcc-3.2.2/
> # mkdir objdir
> # cd objdir
> # ../configure --prefix=/usr/local --enable-threads=posix
> --enable-languages=c,c++
> # make -j4 > ~/make_output 2>&1 &

First, gcc should not be built from inside the source directory, not even a
subdirectory to the sourcedir. Try building from a directory parallel to
gcc-3.2.2

# cd gcc-3.2.2
# cd ..
# mkdir objdir
# cd objdir
# ../gcc-3.2.2/configure --enable-threads=posix --enable-languages=c,c++
# make -j4 bootstrap 2>&1 | tee ~/make_output

The linker error seems strange, perhaps there is some interesting information
to be gathered from your configure process?

--
Ch


< Previous Next >
References