Hello,
it seems that it is not possible to deduce from GCC built-in defines whether we
compile for the VFPv3-D16 or VFPv3-D32 floating point unit.
touch empty.c
arm-eabi-gcc -march=armv7-r -mfpu=vfpv3-d16 -mfloat-abi=hard -E -P -v -dD
empty.c > vfpv3-d16.txt
arm-eabi-gcc -march=armv7-r -mfpu=vfpv3 -mfloat-abi=hard -E -P -v -dD empty.c >
vfpv3-d32.txt
diff vfpv3-d16.txt vfpv3-d32.txt
Is it possible to add a built-in define for this? Or as an alternative is it
possible to use a GCC configuration target specific multi-lib define that
indicates it?
I want to use such a compiler provided define to determine how the context
switch support in an operating system should look like.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.