This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: cygwin issues
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: cygwin issues
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Thu, 31 May 2001 18:54:11 -0400 (EDT)
- cc: alk at pobox dot com, java at gcc dot gnu dot org
On 31 May 2001, Tom Tromey wrote:
> Tony> 2) The #pragma weak for JNI_OnLoad was ignored, so I #if 0'd out the
> Tony> calls.
>
> We'll need something better here. I like Jeff's idea of a check for
> weak symbol support. If that is too hard to write a test for we could
> make it platform-dependent by adding a new variable to configure.host.
Actually that was AG's suggestion. I think an easy test can be done with
AC_TRY_LINK on the following:
extern int x __attribute__ ((weak));
int main() { return x; }
> Tony> - I applied a patch from the mailing list to fix vtable symbols:
> Tony> http://gcc.gnu.org/ml/java/2001-04/msg00349.html
>
> This patch didn't seem to get reviewed. Jeff, is it still needed? I
> didn't see it in the gcc3 ChangeLog.
I think it is still necessary for any COFF or a.out targets. But I
was rushed when I posted it. I was going to write a proper changelog and
send it to gcc-patches when I got around to building the trunk again (it's
not really important for 3.0).
Jeff