autoconf
[Top][All Lists]
Advanced

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

Re: Link tests when cross compiling


From: NightStrike
Subject: Re: Link tests when cross compiling
Date: Fri, 12 Apr 2013 10:47:11 -1000

On Fri, Apr 12, 2013 at 10:44 AM, Mike Frysinger <address@hidden> 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


reply via email to

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