This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PING: patch WIN-00: boehm-gc/configure.in support for win32
- From: Tom Tromey <tromey at redhat dot com>
- To: Adam Megacz <patches at lists dot megacz dot com>
- Cc: java-patches at gcc dot gnu dot org, Anthony Green <green at redhat dot com>
- Date: 10 Feb 2002 18:39:17 -0700
- Subject: Re: PING: patch WIN-00: boehm-gc/configure.in support for win32
- References: <86r8nwh3me.fsf@megacz.com>
- Reply-to: tromey at redhat dot com
I CC'd Anthony since he most recently built a newlib-based cross.
Boehm> I did look at the patches quickly. The first one is OK with
Boehm> me, but I think one of the other libgcj maintainers should look
Boehm> at it, since it affects the default configuration for embedded
Boehm> uses. (Please ignore if they already did. I'm way behind on
Boehm> my mail.)
Adam> Ok to commit?
>> dnl This is something of a hack. When cross-compiling we turn off
>> ! dnl some functionality. We also enable the "small" configuration.
>> ! dnl These is only correct when targetting an embedded system. FIXME.
>> if test -n "${with_cross_host}"; then
>> AC_DEFINE(NO_SIGSET)
>> - AC_DEFINE(NO_CLOCK)
>> - AC_DEFINE(SMALL_CONFIG)
>> AC_DEFINE(NO_DEBUGGING)
>> fi
I'm guessing this could break the build that Anthony does.
What if we change this to decide based on the host?
Then for the win32 ports we could do the above, and for the others we
could default to defining NO_CLOCK and SMALL_CONFIG.
Tom