Im building native tool chain using gcc source code gcc-4.7 version. i downloaded GMP. MPFR, MPC, PPL, BINUTILS, GCC source code . I configured GMP, MPC, MPFR and PPL with following configuration
-$./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/home/vinay.hunachyal/GMP_arm
-$./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/home/vinay.hunachyal/MPFR_arm --with-gmp=/home/vinay.hunachyal/GMP_arm
./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/home/vinay.hunachyal/ppl_arm --with-mpfr=/home/vinay.hunachyal/GMP_arm
./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/home/vinay.hunachyal/ppl_arm --with-gmp=/home/vinay.hunachyal/GMP_arm
for all make & make install i did
after complete building of GMP,MPFR,MPC,PPL..
i configured gcc as following
configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/home/vinay.hunachyal/ppl_arm --with-gmp=/home/vinay.hunachyal/GMP_arm --with-mpfr=/home/vinay.hunachyal/MPFR_arm --with-mpc=/home/vinay.hunachyal/MPC_arm --with-binutils=/home/vinay.hunachyal/BINutils_arm --with-ppl=/home/vinay.hunachyal/ppl_arm --enable-languages=c --with-gnu-as --with-gnu-ld --disable-multilib --with-float=soft --disable-sjlj-exceptions --disable-nls --enable-threads=posix --disable-libmudflap --disable-libssp --enable-long-longx --with-shared
its successfully configured . but while building im gettin error like this
configure: WARNING: decimal float is not supported for this target, ignored
checking whether fixed-point is supported... no
checking whether to use setjmp/longjmp exceptions... no
checking if the linker (/home/vinay.hunachyal/opt/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
checking for thread model used by GCC... posix
checking whether assembler supports CFI directives... yes
checking for __attribute__((visibility("hidden")))... yes
checking whether the target assembler supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: linking ../../../gcc-4.7.0/libgcc/enable-execute-stack-empty.c to enable-execute-stack.c
config.status: linking ../../../gcc-4.7.0/libgcc/config/arm/unwind-arm.h to unwind.h
config.status: linking ../../../gcc-4.7.0/libgcc/config/no-unwind.h to md-unwind-support.h
config.status: linking ../../../gcc-4.7.0/libgcc/config/arm/sfp-machine.h to sfp-machine.h
config.status: linking ../../../gcc-4.7.0/libgcc/gthr-posix.h to gthr-default.h
config.status: executing default commands
make[2]: Entering directory `/home/vinay.hunachyal/Downloads/SRCDIR/gcc_new/arm-none-linux-gnueabi/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
DEFINES='' HEADERS='../../../gcc-4.7.0/libgcc/config/arm/bpabi-lib.h' \
../../../gcc-4.7.0/libgcc/mkheader.sh > tmp-libgcc_tm.h
/bin/bash ../../../gcc-4.7.0/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h
echo timestamp > libgcc_tm.stamp
arm-none-linux-gnueabi-gcc -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -fno-inline -I. -I. -I../.././gcc -I../../../gcc-4.7.0/libgcc -I../../../gcc-4.7.0/libgcc/. -I../../../gcc-4.7.0/libgcc/../gcc -I../../../gcc-4.7.0/libgcc/../include -DHAVE_CC_TLS -o _thumb1_case_sqi_s.o -MT _thumb1_case_sqi_s.o -MD -MP -MF _thumb1_case_sqi_s.dep -DSHARED -DL_thumb1_case_sqi -xassembler-with-cpp -c ../../../gcc-4.7.0/libgcc/config/arm/lib1funcs.S
cc1: error: unrecognized command line option "-fbuilding-libgcc"
make[2]: *** [_thumb1_case_sqi_s.o] Error 1
make[2]: Leaving directory `/home/vinay.hunachyal/Downloads/SRCDIR/gcc_new/arm-none-linux-gnueabi/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/vinay.hunachyal/Downloads/SRCDIR/gcc_new'
make: *** [all] Error 2
unrecognized command line option "-fbuilding-libgcc"..... this error im getting