This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Trying to build arm-elf-linux-gcc 4.0.2 with multilib


Hi!  I am trying to build arm-elf-linux-gcc 4.0.2 with multilib,
interworking and glibc 2.3.5.  I'm almost there, but could use a
little guidance.

I'm using crosstool 0.40.

Here are the specs of my build:

]$ arm-elf-linux-gnu-gcc -v

Using built-in specs.
Target: arm-elf-linux-gnu
Configured with:
/tmp/crosstool-0.40/build/arm-elf-linux-gnu/gcc-4.0.2-glibc-2.3.5/gcc-4.0.2/configure
--target=arm-elf-linux-gnu --host=i686-host_pc-linux-gnu
--prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.5/arm-elf-linux-gnu
--enable-multilib --with-interwork --enable-interwork
--with-headers=/opt/crosstool/gcc-4.0.2-glibc-2.3.5/arm-elf-linux-gnu/arm-elf-linux-gnu/include
--with-local-prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.5/arm-elf-linux-gnu/arm-elf-linux-gnu
--disable-nls --enable-threads=posix --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c --enable-shared
--enable-c99 --enable-long-long
Thread model: posix
gcc version 4.0.2

This looks good to me.

]$ arm-elf-linux-gnu-gcc -print-multi-lib
.;

Boo!

I previously built gcc with newlib for arm-elf, and I had to modify
gcc-4.0.2/gcc/config/arm/t-arm-elf to enable multilib.

I tried the same with my arm-elf-linux-gnu, but it did not have any
effect.  My target is actually arm-elf-linux-gnu, so I copied
t-arm-elf to t-arm-elf-linux-gnu thinking that might do it, without
luck.

What t-file will be included for my target?  Once I can get it to
actually build multilib, I think I am all set.  Should t-arm-elf
worked?

Best Regards,
Mark Deneen

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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