GCC FPU based linking issue with UnixLib
Tristan M. (2946) 1039 posts |
Hi. I’m a bit stuck. As a bit of a sanity check I tried building the GCC examples. Mostly all good except for the one I want. The FS module example. All the other module examples build except this one.
I can include the rest, but it’s essentially everything failing with the same error. I guess I either need a softfp version of UnixLib, or to tell gcc somehow to use hardfp. “-mfloat-abi=” soft, softfp, and hard make no difference to the compilation. the libs for hard and softfp seem to exist for scl-module in !GCC but it only wants to use soft. Ideally I’d prefer to just use soft float. |
Ronald (387) 195 posts |
Are you aware there are two types of OSlib32? |
Tristan M. (2946) 1039 posts |
I do now! Funny the ResourceFS example built and the FS one didn’t. Setting the right one got the fs example to build. Thank you for that! |