Plugin support for FreeBSD and OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux