This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to configure for ARM native compiler.


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...

MAny Thanks,
Venkat.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]