This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]