erc32 wrong compilation flags for initial task with fpu?

Joel Sherrill joel.sherrill at OARcorp.com
Thu Mar 27 13:08:34 UTC 2008


Aleix Conchillo Flaqué wrote:
> Hi,
>
> I have updated from version 4.6.1 to 4.6.6 which includes an SPARC
> update (from 4.6.5). Re-compiling my application with 4.6.6 worked
> fine but failed when I executed it. After some checks, I found out
> that the erc32.cfg makefile was changed and the -msoft-float flag was
> added. The optimization flag changed as well. Using -msoft-float
> prevented my initial task to execute properly as it uses the FPU. I
> have removed the -msoft-float flag and everything works fine again.
>   
Did you every configure the attributes of the initialization
task to be floating point or where you just getting lucky?

#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
> I am not very sure, but I think the change (-msoft-float) should only
> apply to erc32nfp.cfg.
>
> Thanks in advance,
>
> Aleix
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list