[Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 18 09:35:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
this seems reasonable.

=====

However, for the record:

* if a shared library is User-facing and needs to be passed to ld64, then the
convention is that the suffix = .dylib

* if it's part of a framework, then the suffix is usually omitted.

----

* If it's a plug-in only dlopen-ed by a specific process, then the suffix can
be whatever you like (e.g. it could be .gomp-plugin to make it clear what its
purpose is).

Probably not worth the configuration-fu to achieve this tho.



More information about the Gcc-bugs mailing list