This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Link libffi as convenience library
- To: <green at redhat dot com>
- Subject: Re: Link libffi as convenience library
- From: Tom Tromey <tromey at redhat dot com>
- Date: 12 Apr 2001 10:20:12 -0600
- Cc: "Bryce McKinlay" <bryce at albatross dot co dot nz>, <java-patches at gcc dot gnu dot org>
- References: <NEBBKJDPKLNNENPPIHCPAEHAKPAA.green@redhat.com>
- Reply-To: tromey at redhat dot com
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
>> We were bringing in ffitest.lo from libffi. This resulted in amusing
>> behaviour when the "--main" flag to gcj was omitted, because there was
>> a main() in libgcj itself. This patch builds a libffi convenience
>> library which only contains the proper code, fixing the problem.
Anthony> Why do you think we've never seen this before?
We changed how the libffi objects were found a while back. Maybe that
change caused it.
Actually, I think ffitest should be in `check_PROGRAMS', not
`noinst_PROGRAMS'. That way it would only be built by `make check'.
(This wouldn't affect the need for this particular patch though.)
Tom