I'm trying to write a test, but find the documentation extremely sparse on this.

I wish to compile the following C program:

main()
{
}

using the compiler option "-Wl,-zextractall"

and see if it returns 0 or 1.

That seems like a pretty simple thing to do, but I can't work out from the docs how to do this.

Dave

PS, that should pass if the Sun linker is used by the compiler, which will allow me to test if gcc is using the Sun linker or not. (I'll only perform the test if the OS is Solaris and the C compiler is gcc).



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

Reply via email to