Hi,

indeed... it is very strange..

http://hackage.haskell.org/trac/ghc/ticket/3791

is detailed and it even worked. I have seen several similar posts...

however according to
http://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/Option-Summary.html#Option%20Summary

neither in it or in the 4.4/4.5 series I can find this option. The closest is no-relax-immediate but not for sparc. What is this, black magic? The quest for the hidden undocumented GCC option?


Riccardo

On 04/10/2011 04:36 PM, David Chisnall wrote:
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