On Mon, Apr 15, 2013 at 4:05 PM, NeonJohn <jgd@xxxxxxxxxxxxx> wrote: > > I have successfully compiled 4.8 for my native system, Ubuntu Linux. > Now I'm trying to build a cross compiler to generate ARM code for the > Beagle Bone. Having a few problems. > > Here's my configure statement. > > ./configure --build=arm-angstrom-linux-gnueabi > --host=arm-angstrom-linux-gnueabi --prefix=/usr/arm-linux-gnueabi-4.8 > -bindir=/usr/local/bin --disable-fortran --disable-java --disable-lto > --disable-objc -enable-neon > > config.log is attached. > > The build runs for quite awhile and aborts on the following > checking whether ln -s works... yes > checking for arm-angstrom-linux-gnueabi-gcc... > /home/jgd/gcc/gcc-4.8.0/gcc-4.8.0-arm/host-arm-angstrom-linux-gnueabi/gcc/xgcc > -B/home/jgd/gcc/gcc-4.8.0/gcc-4.8.0-arm/host-arm-angstrom-linux-gnueabi/gcc/ > -B/usr/arm-linux-gnueabi-4.8/arm-angstrom-linux-gnueabi/bin/ > -B/usr/arm-linux-gnueabi-4.8/arm-angstrom-linux-gnueabi/lib/ -isystem > /usr/arm-linux-gnueabi-4.8/arm-angstrom-linux-gnueabi/include -isystem > /usr/arm-linux-gnueabi-4.8/arm-angstrom-linux-gnueabi/sys-include > checking for suffix of object files... configure: error: in > `/home/jgd/gcc/gcc-4.8.0/gcc-4.8.0-arm/arm-angstrom-linux-gnueabi/libgcc': > configure: error: cannot compute suffix of object files: cannot compile > See `config.log' for more details. > make[2]: *** [configure-stage1-target-libgcc] Error 1 > make[2]: Leaving directory `/home/jgd/gcc/gcc-4.8.0/gcc-4.8.0-arm' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/home/jgd/gcc/gcc-4.8.0/gcc-4.8.0-arm' > make: *** [all] Error 2 > > The config.log file found in > gcc-4.8.0-arm/arm-angstrom-linux-gnueabi/libgcc is attached. Thank you for including the config.log file. The relevant error is: /usr/bin/as: unrecognized option '-meabi=5' Before building a cross-compiler, you need to build a cross-assembler. It looks like you have not done that. Ian