On Fri, Apr 12, 2013 at 10:44 AM, Mike Frysinger <vapier@xxxxxxxxxx> wrote: > On Friday 12 April 2013 16:38:29 NightStrike wrote: >> On Fri, Apr 12, 2013 at 10:26 AM, Eric Blake wrote: >> > On 04/12/2013 02:20 PM, NightStrike wrote: >> >> Why are link tests not allowed when cross compiling? You don't have >> >> to run the exe to verify that linking worked. >> > >> > What gave you the impression that link tests are not allowed when cross >> > compiling? We use link tests all the time. It is run tests that >> > require a fallback when cross-compiling, not link tests. >> >> checking for main in -lpthread... configure: error: link tests are not >> allowed after AC_NO_EXECUTABLES >> >> That's me trying to use AC_CHECK_LIB when cross compiling. > > please post full config.logs. what you've shown is that your compiler has been > flagged as not being able to produce executables which is very different from > "is it a cross-compiler". > -mike Attached. Interesting, though, when I don't cross compile, the check executes. And, I've always seen this when I try to cross compile. I must have something fundamentally wrong in my understanding. Hopefully, the attached log helps you to enlighten me.
Attachment:
config.log
Description: Binary data
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf