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



Adam Megacz <patches@lists.megacz.com> writes:
> Alexandre Oliva <aoliva@redhat.com> writes:
> > On Jan 31, 2002, Adam Megacz <patches@lists.megacz.com> wrote:
> 
> > > Thank you; I will upgrade my autoconf to 2.50, research this, and
> > > submit a reworked patch.
> 
> > Note that, unfortunately, we're not yet in a position of adopting
> > autoconf 2.50, but by doing so, no patch will be necessary to address
> > your concern: the new autoconf will probably generate code exactly as
> > you expect (in fact, even better, because it won't possibly use
> > incorrect defaults).

Actually, I found another way to approach this. AC_C_BIGENDIAN works
when crosscompiling if your headers define BYTE_ORDER, even on
2.13. I've posted to the mingw list to see if I can arrange for that
macro to be added to the mingw headers.

If you don't want to move to autoconf2.50, would you consider adding
size defaults for the libffi SIZEOF macros until the move to 2.50 is
undertaken?

  - a


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