|
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:1.9.2.15) Gecko/20110402 Icedove/3.1.9 |
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%20Summaryneither 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
[Prev in Thread] | Current Thread | [Next in Thread] |