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 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


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