This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: support non-libffi enabled platforms
- To: <green at cygnus dot com>
- Subject: Re: Patch: support non-libffi enabled platforms
- From: Tom Tromey <tromey at redhat dot com>
- Date: 15 Feb 2001 10:20:49 -0700
- Cc: <java-patches at gcc dot gnu dot org>
- References: <NEBBKJDPKLNNENPPIHCPCEHMKFAA.green@redhat.com>
- Reply-To: tromey at redhat dot com
>> However, couldn't we somehow ask libffi whether it should be used?
>> That way we only need to do the configure hacking in a single
>> place. Ideally libffi could tell us (1) if it works on the
>> platform and (2) if the closure code is supported on the platform.
Anthony> What do you think the best way of doing this is?
One easy way would be to have the libffi configure generate a short
shell script that sets some variables:
libffi_enabled='yes|no'
libffi_closures_enabled='yes|no'
Tom