[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation options for leon2
- Date: Wed, 21 May 2008 18:14:57 +0200
- From: ingolf.steinbach at googlemail.com (Ingolf Steinbach)
- Subject: Compilation options for leon2
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