This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 18 Jan 2015 09:35:29 +0000
- Subject: [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
- Auto-submitted: auto-generated
- References: <bug-64635-4 at http dot gcc dot gnu dot org/bugzilla/>
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.