public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* building a multilb ARM toolchain for softfp and hard float
@ 2012-09-18 17:54 Peter Barada
  2012-09-19  2:07 ` Zhenqiang Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Barada @ 2012-09-18 17:54 UTC (permalink / raw)
  To: crossgcc

I'm having a tough time trying to come up with a newer toolchain for
cortex-a8 that has support for both hard and soft floating point.  I've
tried building a toolchain using
crosstool-ng-linaro-1.13.1-2012.08-20120827.tar.bz2 but when I try to
compile u-boot it complains with:


arm-eabi-gcc  -g  -Os -mhard-float   -fno-common -ffixed-r8
-msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80400000
-I/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0-new-toolchain/rpm/BUILD/u-boot-svn/include
-fno-builtin -ffreestanding -nostdinc -isystem
/home/peter/work/logic/crosstool-ng-linaro-1.13.1-2012.08-20120827/install/lib/gcc/arm-eabi/4.7.2/include
-pipe  -DCONFIG_ARM -D__ARM__         -march=armv5 -Wall
-Wstrict-prototypes     -o smc911x_eeprom.o smc911x_eeprom.c -c
arm-eabi-gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be
used together

Removing "-mhard-float" causes a different error:

arm-eabi-ld: error:
/home/peter/work/logic/crosstool-ng-linaro-1.13.1-2012.08-20120827/install/lib/gcc/arm-eabi/4.7.2/libgcc.a(bpabi.o)
uses VFP register arguments, u-boot does not

Does anyone have a crosstool configuration that builds both softfp and
hard multilibs?  If not does anyone have suggestions on how I can do it?

Thanks in advance!

-- 
Peter Barada
peter.barada@logicpd.com


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-21  2:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-18 17:54 building a multilb ARM toolchain for softfp and hard float Peter Barada
2012-09-19  2:07 ` Zhenqiang Chen
2012-09-20 20:29   ` Peter Barada
2012-09-21  2:12     ` Zhenqiang Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).