[Clfs-dev] problems cross compiling gcc

Luís Vitório Cargnini lvcargnini at gmail.com
Mon Dec 24 12:44:46 PST 2007


Dear fellows I having the following problem:
checking locale.h presence... yes
configure: WARNING: locale.h: present but cannot be compiled
configure: WARNING: locale.h:     check for missing prerequisite headers?
configure: WARNING: locale.h: see the Autoconf documentation
configure: WARNING: locale.h:     section "Present But Cannot Be Compiled"
configure: WARNING: locale.h: proceeding with the preprocessor's result
configure: WARNING: locale.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------------------- ##
configure: WARNING:     ## Report this to the package-unused lists.  ##
configure: WARNING:     ## ----------------------------------------- ##
checking for locale.h... yes
checking for float.h... (cached) yes
checking for stdint.h... (cached) no
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for ld version... 21700
checking for ld that supports -Wl,--gc-sections... configure: error:
Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory
`/home/lvcargnini/puc/instramed/toolchain/build/gcc-arm'
make: *** [all] Error 2
enterprise gcc-arm # df -h

 my configure  line is :
../../sources/gcc-4.2.1/configure --enable-cross
--prefix=/opt/arm-linux --host=${CLFS_HOST} --target=${CLFS_TARGET}
--disable-multilib --with-sysroot=${CLFS} --disable-nls
--enable-shared --enable-languages=c,c++ --enable-__cxa_atexit
--enable-c99 --enable-long-long --enable-threads=posix
--with-headers=${CLFS_TARGET}/usr/include

Thanks for any help

-- 
------------------------------------------------------------------------------
Thanks && Regards
M.Sc. B.Sc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500  extension: 7696
---------------------------------------------------------------------------------


More information about the Clfs-dev mailing list