FLOATING POINT with rtems

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Dec 2 08:32:56 UTC 2013


Hello,

yes, this approach works, but I wouldn't do it that way.  Maybe we should add 
floating-point enable BSP variants?  For example a "leon3_fpu" BSP?

-- 
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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
#
#  Config file for the LEON3 SPARC processor.
#

include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU=sparc
RTEMS_CPU_MODEL=leon3

#  This contains the compiler options necessary to select the CPU model
#  and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=v8 -mhard-float

# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

LDFLAGS = -Wl,--gc-sections


More information about the users mailing list