On Mon, Jul 18, 2005 at 12:53:01PM +0200, Karel Gardas wrote:
> 
> I'm trying to build 4.0.1 release on powerpc64-linux, but without success 
> so far, since build fails with:
> 
> I've configured it with:
>  ../gcc-4.0.1/configure --prefix=$HOME/usr/local/gcc-4.0.1 --enable-shared 
> --enable-threads --enable-languages=c++ --disable-checking 
> --enable-__cxa_atexit

This won't work unless the default compiler and binutils generate 64-bit
code by default.  I build biarch compilers that default to -m32 with
"--build=powerpc64-linux --host=powerpc64-linux --target=powerpc64-linux
--with-cpu=default32".

> Also, http://gcc.gnu.org/install/specific.html#powerpc-x-linux-gnu notes 
> that binutils 2.15 are required, which seems to be available on this 
> system (Debian 3.1/ppc64):

I've been using binutils 2.16, but can't remember specific problems with
earlier versions.

Have you successfully built earlier versions for this target?

Janis

Reply via email to