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: Alexandre Oliva <aoliva at redhat dot com>
- To: Adam Megacz <patches at lists dot megacz dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 31 Jan 2002 06:56:08 -0200
- Subject: Re: patch to libffi/configure.in to allow crosscompiling
- Organization: GCC Team, Red Hat
- References: <86wuxy2a52.fsf@megacz.com>
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.
Still, I'd rather see us moving towards autoconf 2.50 than introducing
this kind of duplication.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer