Thursday, 4 March 2021

Re: [gccsdk] GCC8+ what new environment check is needed for packages

On 04/03/2021 08:38, Rob Kendrick wrote:
> On Wed, Mar 03, 2021 at 07:31:51PM +0000, Lee Noar wrote:
>> If I'm understanding you correctly, then GCC8 and later should work on
>> anything with VFP, so a VFP check should be OK, however, the libraries
>> are not compatible with GCC4. The libraries for GCC8/10 are stored in
>> !SharedLibs.lib.armeabi, so armeabi would be the name of environment?
>> Main Page: http://www.riscos.info/index.php/GCCSDK
>
> If code generated by the new GCC depends on VFP, where does that leave
> people using RPCemu/VirtualRPC for their day-to-day use?

Unfortunately, FPA support was removed from GCC some time ago, so we
don't even have it as an option. Soft-float should still work, but
I haven't tried it. It would require an additional shared library ABI
and the ability for the dynamic linker to detect it and load the correct
libraries (the ELF header probably has a flag for this).

Lee.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment