patch to enable inet_addr() on Win32 [ok for mainline?]

Adam Megacz gcj@lists.megacz.com
Tue May 28 00:21:00 GMT 2002


Mark Mitchell <mark@codesourcery.com> writes:
> >> Okay, I just took a look at this. Turns out that gcj's configury uses
> >> AC_CHECK_FUNCS, which doesn't work right when crosscompiling.

> But why not?  AC_CHECK_FUNCS is certainly *supposed* to work when
> cross-compiling.

The problem is two-fold:

1) gcj's configury still assumes in many places that if you're
   crosscompiling, you must be targeting newlib. This is wrong, but
   easy to fix.

2) Even when I fixed (1), configure was still invoking the platform's
   native 'gcc' to test if compiles succeeded.

  - a

-- 
Do you think web browsers make poor user interfaces?
www.xwt.org



More information about the Java mailing list