This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to clear this endianess problem........
- From: Venkat Narayana <venkatnarayana dot k at gmail dot com>
- To: gcc-help at gcc dot gnu dot org, Ian Lance Taylor <ian at airs dot com>
- Date: Fri, 6 May 2005 15:08:11 +0530
- Subject: How to clear this endianess problem........
- Reply-to: Venkat Narayana <venkatnarayana dot k at gmail dot com>
Hi ,
I am trying to build a Native compiler for ARM. I will use the
compiler on ARM target to generate ARM target .
I tried below syntax to configure the GCC on linux os.
../gcc-3.4.2/configure --enable-languages=c,c++ --target=arm-elf
--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 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...
Could anyone reply me soon........
MAny Thanks,
Venkat.