[Top][All Lists]

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

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

From: Riccardo Mottola
Subject: Re: sparc: ld: --relax and -r may not be used together
Date: Sun, 10 Apr 2011 17:31:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110402 Icedove/3.1.9


indeed... it is very strange..

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

however according to

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?


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, we need to try
determining if the compiler supports -mno-relax.  With gcc is not that 
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 
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...


-- Sent from my Difference Engine

reply via email to

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