OK.But i am getting error when trying to bootstrap it. I gave command "make bootstrap ".It is giving error as guessing bigendian ... unknown configure: error: unknown endianess - sorry /root/venkat/gcc-3.4.2/libiberty/configure: line 3289: exit: please: numeric argument required /root/venkat/gcc-3.4.2/libiberty/configure: line 3289: exit: please: numeric argument required make: *** [configure-libiberty] Error 1 So where in configure, i need to specify the endianness... Thank you for replying quickly. Many Thanks, Venkat. On 05 May 2005 02:54:29 -0400, Ian Lance Taylor <ian@xxxxxxxx> wrote: > Venkat Narayana <venkatnarayana.k@xxxxxxxxx> writes: > > Please reply to the mailing list, not just to me. > > > I am trying to build a Native compiler for ARM. I will use the > > compiler on ARM target to generate ARM target . > > > > 1) I tried below syntax to configure the GCC on linux os. > > > > ../gcc-3.4.2/configure --enable-languages=c,c++ --target=arm-linux > > --host=arm-linux > > --with-as=../../root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armasm > > --with-ld=../../root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armlink > > --with-cpu-ARM --build=i386-redhat-linux > > > > ********But i am getting below error while configuring the GCC. > > > > checking for a BSD compatible install... (cached) /usr/bin/install -c > > *** This configuration is not supported in the following subdirectories: > > target-libf2c target-libffi target-boehm-gc target-zlib > > target-libjava zlib fastjar target-libobjc > > (Any other directories should still work fine.) > > This is not an error. None of those directories should matter to > you. > > > 2) I tried another combination as below: > > > > ../gcc-3.4.2/configure --enable-languages=c,c++ --target=arm-elf > > --host=arm-elf > > --with-as=../../root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armasm > > --with-ld=../../root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armlink > > arm-elf is not a host. You are missing the --build option. > > > I am getting below error. > > > > checking for a BSD compatible install... (cached) /usr/bin/install -c > > *** This configuration is not supported in the following subdirectories: > > target-libffi target-libf2c target-boehm-gc target-zlib > > target-libjava zlib fastjar target-libobjc > > (Any other directories should still work fine.) > > This is also not an error. > > Ian >