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

See crosstool-NG 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]

building a multilb ARM toolchain for softfp and hard float


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


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