This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to libffi/configure.in to allow crosscompiling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]