gcc-arm-embedded export for LPC4088

29 Jan 2014


I'm having trouble to compile mbed projects offline with the gcc-arm-embedded toolchain. I exported the blinking LED Hello World program for both the EA LPC4088 QS and the mbed LPC1768. For the LPC1768 the "make" command works, for the LPC4088 I get errors with the VFP register arguments:

"/usr/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: error: /mbed/TARGET_LPC4088/TOOLCHAIN_GCC_ARM/libmbed.a(pinmap.o) uses VFP register arguments, blink.elf does not"

I tried changing the -mfloat-abi parameter with no success. I also updated the latest mbed libary before exporting. The system is arch linux with the latest 4.8 gcc-arm-embedded. Any suggestions how I can get this work?


16 Feb 2014

I've got the same question with the lpc4088 EA QSB board for offline compiling. Same errors concerning VFP registers. Using Mac os x 10.9.1

/Users/raph/Documents/MBedDev/GCCARM/gcc-arm-none-eabi-4_8-2013q4/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: error: ./mbed/TARGET_LPC4088/TOOLCHAIN_GCC_ARM/libmbed.a(FileLike.o) uses VFP register arguments, Z_RSAudio.elf does not /Users/raph/Documents/MBedDev/GCCARM/gcc-arm-none-eabi-4_8-2013q4/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file ./mbed/TARGET_LPC4088/TOOLCHAIN_GCC_ARM/libmbed.a(FileLike.o)

Any Idea ?

27 Feb 2014


28 Feb 2014

I think I've got this licked. See https://mbed.org/questions/2524/gcc-arm-embedded-export-for-LPC4088/. Let me know how you get on, Raph.