[LLVMdev] Link tests are not allowed after GCC_NO_EXECUTABLES

John Criswell criswell at cs.uiuc.edu
Mon Nov 22 09:57:55 PST 2004


Chris Lattner wrote:
> On Sat, 20 Nov 2004, Henrik Bach wrote:
> 
> 
>>I can't figure what this means:
>>------------------
>>...
>>checking for g++ that supports -ffunction-sections -fdata-sections... no
>>checking for sin in -lm... configure: error: Link tests are not allowed
>>after GCC_NO_EXECUTABLES.
>>make: *** [configure-target-libstdc++-v3] Error 1
>>------------------
> 
> 
> I've never seen that before, sorry :(

You might want to google for AC_NO_EXECUTABLES.  It's an autoconf test 
that generates the behavior you describe.  Apparently the GCC folks 
wrote a new version of the macro due to the above behavior.

I have no idea what this macro does; it is not documented in version 
2.57 of the autoconf manual and is not in the autoconf macro archive. 
It might be in a newer manual, or you might have to read through various 
  mailing lists located by google to figure out what it does.

Hope this helps.

> 
> -Chris
> 

-- John T.

-- 
*********************************************************************
* John T. Criswell                         Email: criswell at uiuc.edu *
* Research Programmer                                               *
* University of Illinois at Urbana-Champaign                        *
*                                                                   *
* "It's today!" said Piglet. "My favorite day," said Pooh.          *
*********************************************************************




More information about the llvm-dev mailing list