Java, Cygwin and Windows walk into a bar ... eh, that's a different joke. Seriously though. There is a problem with how ./configure detects Java2 SDK support on Cygwin. The problem is that [1] has the line "typedef __int64 jlong;" which assumes that __int64 has been defined either by including "windows.h" or being run under MSVC.
On Cygwin, at least in the ./configure checks these conditions are not true. Possible solutions: 0. Sun fixes their SDK to do the right thing under Cygwin. (Not likely.) 1. Add a check JAVA_NEEDS_INT64 that causes the appropriate typedef to be defined in config.h 2. Add a check JAVA_NEEDS_WINDOWS_H that causes windows.h to be included in config.h 3. Because (2) might be redundant (if CS already includes windows.h when needed), change the Java2 SDK check to try compiling with windows.h included before everything. Unfortunately I'm not to good at all this ./configure.ac magic, so I don't know what would be the preferred method or how to actually implement that in ./configure.ac. Michael D. Adams [EMAIL PROTECTED] [1] /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/win32/jni_md.h _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
