[Top][All Lists]

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

Re: autoconf-2.61's AC_LINK_IFELSE with MinGW cross-compilers

From: Stepan Kasal
Subject: Re: autoconf-2.61's AC_LINK_IFELSE with MinGW cross-compilers
Date: Thu, 12 Apr 2007 10:54:46 +0200
User-agent: Mutt/


On Thu, Apr 12, 2007 at 07:47:04AM +0200, Ralf Corsepius wrote:
> > Stepan Kasal <address@hidden> writes:
> > >   * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
> > >   when cross-compiling.

> Hmm, I am not convinced. If this check can be skipped for cross
> compilation (Which I think is not correct), why can't it always be
> skipped?

there are two ends for this:

1) When a native compiler builds an output file, but does not set +x
on it, it might be an indication of an error.  Such a situation was
described in
So the more strict check in the native case can help when you are
trying a build on a weird platform.

2) OTOH, when cross-compiling, people tend to specify the compiler
explicitely, and tend to know more details about the tools, so the
more strict checks might just get in their way, rather than help.

The current combination tries to prevent both types of surprises.

Have a nice day,
        Stepan Kasal

reply via email to

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