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]

Re: Softfloat arm-gcc with hardfloat libgcc ?


On Wed, 2006-05-10 at 10:45, Khem Raj wrote:
> Jean-Philippe Francois wrote:
> > Hi,
> >
> > I compiled a gcc3.3 softfloat toolchain using crosstool 0.42 and here is
> > the message I get when compiling u-boot (with nand support)
> >   
> you toolchain is not completely build with softfloat. Especially gcc. 
> Libgcc seems to still have hard FP enabled check you gcc builds.
Hmmm, I don't know yet how to do that, out of automated tools. Using
crosstool to build a 3.4.5 gcc with a 2.2.5 libc gave me a working
build.

> > arm-linux-ld: ERROR:
> > /usr/local/arm/3.3crosstool-new/gcc-3.3-glibc-2.2.5/arm-linux/lib/gcc-lib/arm-linux/3.3/libgcc.a(_ashldi3.oS) uses hardware FP, whereas u-boot uses software FP
> > File in wrong format: failed to merge target specific data of file
> > /usr/local/arm/3.3crosstool-new/gcc-3.3-glibc-2.2.5/arm-linux/lib/gcc-lib/arm-linux/3.3/libgcc.a(_ashldi3.oS)
> >
> > I am new to this mailing list, so I don't know which info is the more 
> > useful. Here is arm-linux-gcc -v :
> >
> > Reading specs from
> > /usr/local/arm/3.3crosstool-new/gcc-3.3-glibc-2.2.5/arm-linux/lib/gcc-lib/arm-linux/3.3/specs
> > Configured with:
> > /usr/src/ARM2/toolchain/crosstool-0.42/build/arm-linux/gcc-3.3-glibc-2.2.5/gcc-3.3/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/usr/local/arm/3.3crosstool-new/gcc-3.3-glibc-2.2.5/arm-linux --with-float=soft --with-headers=/usr/local/arm/3.3crosstool-new/gcc-3.3-glibc-2.2.5/arm-linux/arm-linux/include --with-local-prefix=/usr/local/arm/3.3crosstool-new/gcc-3.3-glibc-2.2.5/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
> > Thread model: posix
> > gcc version 3.3
> >
> > Thank you,
> > JP Francois
> >
> >
> >
> > --
> > For unsubscribe information see http://sourceware.org/lists.html#faq
> >
> >   
> 
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 



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