This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to libffi/configure.in to allow crosscompiling
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Adam Megacz <patches at lists dot megacz dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Jan 2002 07:52:37 -0800
- Subject: Re: patch to libffi/configure.in to allow crosscompiling
- References: <86wuxy2a52.fsf@megacz.com> <ord6zqx5jr.fsf@free.redhat.lsd.ic.unicamp.br>
On Thu, Jan 31, 2002 at 06:56:08AM -0200, Alexandre Oliva wrote:
> On Jan 31, 2002, Adam Megacz <patches@lists.megacz.com> wrote:
>
> > 2002-01-30 Adam Megacz <adam@xwt.org>
>
> > * gcc/libffi/configure.in: added defaults to use when cross-compiling
>
> Note that autoconf 2.5x already performs at least the sizeof tests
> with compilation tests, instead of run-time tests, such that they work
> correctly even when cross compilation.
>
> As for the endianness test, I believe a significant part of your code
> is already there too, but there are situations in which grep may still
> fail to detect endianness, because it does not support binary files in
> general.
You might want to look at the macros in gcc/aclocal.m4. We already
went through this with them, they're known to work.
zw