How to determine -rdyamic / -Wl,--export-dynamic flags?

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


Does anyone have a macro that will correctly determine when -rdynamic
and/or -Wl,--export-dynamic can be used?  I'm not using libtool but I'd
like my application to be built such that functions in it can be invoked
by dynamically loaded objects.

I saw http://www.mail-archive.com/autoconf@xxxxxxx/msg15247.html but
there was no definitive response... has anyone come up with something
since then?

I'd prefer to not invoke a test executable, to preserve cross-compiling.

Thanks!

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@xxxxxxx>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [USB]     [Samba]

Add to Google Powered by Linux