This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: patch to enable inet_addr() on Win32 [ok for mainline?]
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>, "java at gcc dot gnu dot org" <java at gcc dot gnu dot org>, oliva at redhat dot com
- Date: 28 May 2002 00:05:04 -0700
- Subject: Re: patch to enable inet_addr() on Win32 [ok for mainline?]
- Organization: Myself
- References: <6790000.1022563515@warlock.codesourcery.com>
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