RE: arm bsps: changing the float-abi to softfp

2023-04-05 Thread Steinbach, Ingolf
> There is a means if someone wants to update gcc-common-1.cfg to allow user 
> macro maps.
[...]

Thanks, Chris. I'll investigate this.

Kind regards
Ingolf
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


RE: arm bsps: changing the float-abi to softfp

2023-04-04 Thread Steinbach, Ingolf
Hi Sebastian.

> Why would you use
> this instead of -mfloat-abi=hard? For a statically linked executable
> this makes little sense.

My goal is to link with a 3rd party object file which had been compiled with 
-mfloat-abi=softfp and which cannot be recompiled. In fact, there are also 
other flags which might cause a conflict with the current flags used by RTEMS 
and which might cause even more headache (-mfpu comes to my mind).

> If you really need such a multilib, then you can patch
> gcc/config/arm/t-rtems. I don't know if you can add custom patches to
> the RTEMS Source Builder.

I assume that I could add them to the corresponding config/tools/*.cfg.

Kind regards
Ingolf
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


arm bsps: changing the float-abi to softfp

2023-04-04 Thread Steinbach, Ingolf
Hi,

we are currently using the RTEMS source builder to build the toolchain, RTEMS 
and a few BSPs for ARM (32bit) targets. Apparently, RTEMS generally uses 
-mfloat-abi=hard for all arm32 targets. Can this easily be changed to compile 
with -mfloat-abi=softfp instead? Or extend the multilib build to include also 
softfp variants?

No "clean" solution expected which is ready for inclusion in rtems.org -- just 
a pointer to the relevant files which would have to be patched.

Kind regards
Ingolf

___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users