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

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

 



Hello,

On Thu, Apr 12, 2007 at 07:47:04AM +0200, Ralf Corsepius wrote:
> > Stepan Kasal <kasal@xxxxxx> 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
http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html
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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux