How do I write this test?

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

 



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@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux