This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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 enable inet_addr() on Win32 [ok for mainline?]



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


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