autoconf
[Top][All Lists]
Advanced

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

Re: Link tests when cross compiling


From: Mike Frysinger
Subject: Re: Link tests when cross compiling
Date: Fri, 12 Apr 2013 16:44:48 -0400
User-agent: KMail/1.13.7 (Linux/3.8.3; KDE/4.6.5; x86_64; ; )

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

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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