This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Next libjava on cygwin problem


On Sunday, April 22, 2001, at 06:55  PM, Billinghurst, David (CRTS) 
wrote:

> That does it, and it was the last thing preventing a successful build.

Cool! Now, who wants to fix up the native win32 port? ;-)

> +#ifndef __CYGWIN__
>  /* This will be non-NULL if the user has preloaded a JNI library, or
>     linked one into the executable.  */
>  extern "C"
> @@ -44,6 +45,7 @@
>  #pragma weak JNI_OnLoad
>    extern jint JNI_OnLoad (JavaVM *, void *) __attribute__((weak));
>  }
> +#endif /* __CYGWIN__ */

Is there a configure test we can do to check for working weak symbol 
support? That would be better than special-casing cygwin here.

regards

   [ bryce ]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]