jperkin,
@jperkin@federate.me.uk avatar

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!

#gcc

slink,
@slink@fosstodon.org avatar

@jperkin please bost/post the best answer

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines