jperkin, Compiler folks!
Let's say I'm using _Float16 on a system which doesn't support FP16.
If I compile it directly to a program then libgcc does its thing and __extendhfdf2 etc is pulled in transparently. All good.
If I compile it as a shared library, it is not, and I have to add -lgcc manually to avoid undefined symbols.
Is this expected behaviour? If not, where should I start looking?
Thanks!
Add comment