|
From: | Peter Johansson |
Subject: | Re: How do I write this test? |
Date: | Fri, 07 Aug 2009 08:09:28 -0400 |
User-agent: | Thunderbird 2.0.0.21 (Macintosh/20090302) |
Dr. David Kirkby wrote:
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.
Have a look at AX_CHECK_COMPILER_FLAGS in the autoconf macro archive: http://www.nongnu.org/autoconf-archive/ax_check_compiler_flags.html cheers, Peter
[Prev in Thread] | Current Thread | [Next in Thread] |