Problem building powerpc cross - array too large?

John Breen jab3@hotmail.com
Mon Jan 27 18:43:00 GMT 2003


>From: "William A. Gatliff" <bgat@billgatliff.com>
>
>I don't know anything about HPPA hosts, but I just ran it here on
>Linux and it built just fine.

I doubt it's due to the host being HPPA, although at this point I'll believe 
anything.

>I'm a little suspicious about your --target=powerpc-elf-eabi command.
>I used "powerpc-elf" (well, actually, "ppc-elf").
>
>Here's my configure statement:
>
>
>    ../gcc-3.2.1/configure --target=ppc-elf \
>       --prefix=/home/bgat/H-i686-pc-linux-gnu \
>       --with-gnu-as --with-gnu-ld --disable-shared \
>       --without-headers --with-newlib \
>       --disable-threads --enable-languages=c \
>       --with-local-prefix=/home/bgat/H-i686-pc-linux-gnu/ppc-elf \
>       2>&1 | tee configure-log
>    make all-gcc install-gcc 2>&1 | tee build-bootgcc/make-log

I tried rebuilding using ppc-elf, and it still dies in the same way.  I've 
included the actual commands below; they're virtually identical to yours 
except (a) the prefix is obviously different, and (b) I only did all-gcc.  I 
assume that wouldn't make a difference.

I'm not sure I understand why --with-local-prefix would need to be here, 
since I'm compiling --without-headers.  Will the local-prefix directory 
contain anything at this point?

One oddity I noticed this time: the first few lines of the configure output 
look like this:
----------
Configuring for a hppa2.0-hp-hpux10.20 host.
Copying no to /data/ecad_libs/gcc-3.2.1-ppc-elf/ppc-elf/sys-include
../../gcc-3.2.1/configure[765]: no:  not found.
----------
Anyone know what this means, and if it's a problem?  Looks to me like a 
configuration option isn't getting passed/interpreted correctly.

Commands:
----------
  107  cd ../binutils/
  108  target=ppc-elf;
       make distclean;
       ../../gcc-3.2.1/configure
         --prefix=/data/ecad_libs/gcc-3.2.1-${target}
         --target=${target} 2>&1 | tee build.log;
       make all install 2>&1 | tee build.log
  111  cd ../gcc/
  112  make distclean;
       ../../gcc-3.2.1/configure
         --target=${target}
         --prefix=/data/ecad_libs/gcc-3.2.1-${target}
         --with-gnu-as
         --with-gnu-ld
         --disable-shared
         --without-headers
         --with-newlib
         --disable-threads
         --enable-languages=c
         --with-local-prefix=/data/ecad_libs/gcc-3.2.1-ppc-elf/ppc-elf
         2>&1 | tee -a build.log;
       make all-gcc 2>&1 | tee -a build.log

--
John Breen


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list