FLOATING POINT with rtems
Luca Cinquepalmi
cinquepalmi at planetek.it
Fri Nov 29 12:57:12 UTC 2013
BSP is leon2 and these are my GCC options:
-specs bsp-specs -qrtems -mcpu=V8
BCC is inteded as sparc-elf-gcc.
I don't use RCC, it was just to identify my rtems compiler
which is sparc-rtems4.11-g++
Luca
Il 29/11/2013 13:29, Sebastian Huber ha scritto:
> Hello,
>
> On 2013-11-29 13:20, Luca Cinquepalmi wrote:
>> I'm not yet able to use FLOATING POINT coprocessor in my sparc
>> architecture.
>> I configured my system.h by inserting
>>
>> #define|CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT|
>>
>> but alway the same trap appears:
>>
>> Unexpected trap(0 x4) ... fp disabled
>
> which BSP do you use and with which GCC options did you build the BSP?
>
>> I don't want to use -msoft-float flag option because I don't use
>> it when I compile with BCC instead of RCC and it does work without
>> any problems.
>
> What is BCC? For RCC support you should probably ask Aeroflex Gaisler.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20131129/798e60d9/attachment-0001.html>
More information about the users
mailing list