I’m trying to build a project for a freestanding arm32 target, specifically the Cortex M0+. The issue I’m running into is that during linking, arm-none-eabi-ld
complains that the object file uses VFP (hard float) instructions while libgcc
does not.
Looking at the compiler source, it seems to have a hardcoded target triple that uses the gnueabihf
hard float ABI.
I’ve been scouring the internet as best I can given the useless state of modern search engines and have come up empty except for confirming the above information. I’m honestly just a bit outside of my depth on this, but pushing my boundaries kind of the point of this whole project.
I did try building with -target-features:soft-float
and -target-features:thumb2
. The first didn’t change the outcome, the second threw an LLVM error.
Edit: repo link