On Fri, 2009-08-07 at 21:51 +0100, Dr. David Kirkby wrote: > Do you have a better idea how to tell what linker gcc uses? Why do you actually care? Surely what you want to know is what options work on the linker that you have to hand? So you will need to test the linker options you want to use, if necessary checking more than one set of options, to find ones that work. This is how macros like AX_CFLAGS_WARN_ALL work to enable compiler warnings (the aim) regardless of the specific compiler in use. http://www.nongnu.org/autoconf-archive/ax_cflags_warn_all.html Using macros like these enables you to turn on features when the are available, and not otherwise. Thus if support for a given flag is added to either linker in the future, your configure script will continue to work with it, which isn't the case if you make assumptions about what linkers support what options based on the linker vendor. Richard _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf