Hi,
4.7.2 installation fails on piCore Linux running on Raspberry Pi (ARM v6).
Compiler is GCC 4.6.3, ppl/cloog not installed. Build script, running
outside of source tree:
--------------------------------------------------------------------------------------------------------
#!/bin/sh
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
export CFLAGS="-Os -pipe"
export CXXFLAGS="-Os -pipe -fno-rtti -fno-exceptions"
export LDFLAGS=""
# Configure
../gcc-4.7.2/configure \
--prefix=/usr/local \
--enable-languages=c,c++ \
--with-pkgversion=piCore \
--enable-shared \
--disable-multilib \
--with-march=armv6 --with-fpu=vfp --with-float=hard \
--disable-bootstrap
# Build
make
--------------------------------------------------------------------------------------------------------
It install 4.6.3 fine. However 4.7.2 fails in libgcc install with
--------------------------------------------------------------------------------------------------------
configure:3602: error: in
`/mnt/mmcblk0p4/gcc-4.7.2/Build/armv6l-unknown-linux-gnueabihf/libgcc':
configure:3605: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
--------------------------------------------------------------------------------------------------------
config.log attached.
Any idea how to fix?