On 10 Apr 2011, at 14:43, Riccardo Mottola wrote:

> The alternative is to add a configure check.  In configure.ac, we need to try
> determining if the compiler supports -mno-relax.  With gcc is not that 
> difficult,
> as we'd presumably simply grep the output of "gcc --target-help".  But clang
> doesn't seem to recognize --target-help.  How do you get the list of 
> command-line
> compiler options for clang ?


To print all of the compiler options, you can do clang -cc1 -help, although 
that may not be what you want.  I can't find -mno-relax documented in GCC, so 
I'm not sure what it actually does...

David

-- Sent from my Difference Engine




_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to