This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 4.6.1 for arm-eabi wants to use the system's as instead of arm-eabi-as
- From: Rob Emanuele <rje at crystalfontz dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 29 Sep 2011 15:04:57 -0700
- Subject: gcc 4.6.1 for arm-eabi wants to use the system's as instead of arm-eabi-as
Greetings,
I'm in process of upgrading our toolchain to binutils 2.21.1, gcc
4.6.1, and our customized newlib based on 1.19.0.
I'm building a naked gcc c compiler to build newlib. The compiler,
arm-eabi-gcc, when compiling anything tries to use "as" instead of
"arm-eabi-as".
This is a new behavior as I didn't experience this using gcc 4.3.3.
Steps to reproduce:
/home/me/tools_test/
toolchain
gcc-4.6.1
binutils-2.21.1
build
naked-gcc
binutils
Commands:
849 ../../binutils/configure
--prefix=/cfontz/homes/rje/tools_test/toolchain/ --target=arm-eabi
--disable-werror
850 make -j16 > /dev/null 2>&1
851 make -j16
852 make -j16 install> /dev/null 2>&1
853 which arm-eabi-as
854 cd ../cross-naked-gcc
855 ../../gcc/configure
--prefix=/cfontz/homes/rje/tools_test/gnu_toolchain/build/cross-naked-gcc-toolchain
--target=arm-eabi --without-headers --enable-languages="c"
--with-gnu-ld --with-gnu-as --with-newlib
856 make -j18 all-gcc > /dev/null 2>&1
857 make -j16 install> /dev/null 2>&1
858 make -j16 install-gcc> /dev/null 2>&1
859 arm-eabi-gcc
860 cat test.c
861 cat >test.c
862 arm-eabi-gcc test.c
863 ls
864 less config.log
865 rm -fr *
866 rm -fr ../cross-naked-gcc-toolchain/*
867 less config.log
868 ../../gcc/configure
--prefix=/cfontz/homes/rje/tools_test/gnu_toolchain/build/cross-naked-gcc-toolchain
--target=arm-eabi --without-headers --enable-languages="c"
--with-gnu-ld --with-gnu-as --with-newlib
COMPILER_AS_FOR_TARGET='arm-eabi-as'
COMPILER_LD_FOR_TARGET='arm-eabi-ld'
COMPILER_NM_FOR_TARGET='arm-eabi-nm'
869 make -j18 all-gcc COMPILER_AS_FOR_TARGET='arm-eabi-as'
COMPILER_LD_FOR_TARGET='arm-eabi-ld'
COMPILER_NM_FOR_TARGET='arm-eabi-nm' > /dev/null 2>&1
870 make -j18 install-gcc COMPILER_AS_FOR_TARGET='arm-eabi-as'
COMPILER_LD_FOR_TARGET='arm-eabi-ld'
COMPILER_NM_FOR_TARGET='arm-eabi-nm' > /dev/null 2>&1
871 cat test.c
872 cat >test.c
873 arm-eabi-gcc test.c
874 history