Link tests are not allowed after GCC_NO_EXECUTABLES

Hi,

I can't figure what this means:

I've never seen that before, sorry :frowning:

-Chris

Actually, this message is generated by the configure script. It is
telling you that after a certain point in the script, no further link
tests (like the one for sin() in -lm) are permitted. Note that this
does NOT occur in the LLVM configure script (grep configure for "Link
tests"), so I'm not sure why its being posted here.

Reid.

Chris Lattner 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 :frowning:

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.