This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Plugin support for FreeBSD and OS X
- From: "Nicholas \"Indy\" Ray" <arelius at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 5 Oct 2009 01:16:57 -0700
- Subject: Plugin support for FreeBSD and OS X
Trying to get GCC plugin support on svn HEAD I've run into a few
configure problems on FreeBSD and OS X. Both having to do with
requiring -fPIC, -shared, -ldl, and -rdynamic.
On Mac OSX when building for x86_64-apple-darwin it has a problem
checking "for -fPIC -shared" even if I remove both the args in the
LDFlags that still seems to fail, yet both seem to be available on my
OSX gcc when building for x86_64.
On FreeBSD libdl doesn't exist and dlopen support should be checked by
configure without "-ldl" in LDFLAGS It works just fine with the -ldl
check just removed verbatim, but I don't know autoconf enough to be
able to submit a patch that checks for BSD.
Nicholas "Indy" Ray