gnustep-dev
[Top][All Lists]
Advanced

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

Re: sparc: ld: --relax and -r may not be used together


From: David Chisnall
Subject: Re: sparc: ld: --relax and -r may not be used together
Date: Sun, 10 Apr 2011 15:36:44 +0100

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]