Cross-compiling OpenJDK

Florian Weimer fweimer at redhat.com
Tue Apr 29 11:07:38 UTC 2014


I'm trying to cross-compile OpenJDK from x86_64 to mingw64.  There are 
some minor fixes necessary on the OpenJDK side, but the largest 
discrepancy is the difference in file system layout between mingw and 
native builds: native import libraries use .lib, mingw uses .dll.a, 
native import libraries are in the same directory as the DLL, but with 
mingw, it's separate.

Are there some tricks to work around this, or is this just how things 
are?  Why isn't the file system layout closer to what appears to be 
typical for native builds?

-- 
Florian Weimer / Red Hat Product Security Team


More information about the mingw mailing list