Compilation options for leon2
Ingolf Steinbach
ingolf.steinbach at googlemail.com
Wed May 21 16:14:57 UTC 2008
Hi,
make/custom/leon2.cfg sets "CPU_CFLAGS = -mcpu=cypress -msoft-float".
Is there a reason for not using -mcpu=v8 here?
I understand that the -msoft-float is needed in order to avoid FPU
instructions in RTEMS libraries which could cause trouble if executed
in non-FPU tasks, interrupt service routines, ... However, user code
need not specify -msoft-float if there is an FPU and if the tasks are
configured for FPU usage. Is that correct?
Kind regards
Ingolf
More information about the users
mailing list