Re: How do I write this test?

2009-08-07 Thread Peter Johansson
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 ma

Re: How do I write this test?

2009-08-07 Thread Andrew W. Nosenko
On Fri, Aug 7, 2009 at 16:18, Andrew W. Nosenko wrote: > On Fri, Aug 7, 2009 at 13:39, 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 opti

Re: How do I write this test?

2009-08-07 Thread Andrew W. Nosenko
On Fri, Aug 7, 2009 at 13:39, 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. Assuming t

How do I write this test?

2009-08-07 Thread Dr. David Kirkby
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 h