Building with MinGW?
kelly.ohair at oracle.com
Wed Apr 21 09:40:54 PDT 2010
On Apr 21, 2010, at 5:58 AM, Raffaello Giulietti wrote:
> I'm wondering if anybody has already tried to build OpenJDK7 on
> using the MinGW suite.
If they have, I never heard from them.
> * Is there anything known to be a hard to circumvent show stopper?
To me the basic problem is that with "Windows" it is hard to separate
dependencies on the OS, some Windows SDK, something specific to Visual
etc. I'm not saying it would be impossible, but it is not a simple
parts of the jdk might be very difficult to disconnect from Visual
dependencies. The code has assumed Visual Studio for a long long time.
If someone did it, and we were able to build either way, and the
too outrageous, I'm sure we consider accepting that contribution.
But I just don't think it will be that simple.
> * Is it known why Visual C++ is still the reference build system on
It was probably chosen as the defacto standard on Windows a long time
there was never any value in changing that.
The performance was probably a key issue, and whether or not you could
to a different compiler set, before the official builds would ever
would need some very detailed performance measurements to verify no
performance. That's not an easy job, or simple either.
Any change to the compilers used to create the binary JDKs we
distribute is always
a change made very carefully. It might provide significant benefits,
hidden dangers are often difficult to find and diagnose.
I know this binary distribution model is of less interest to some who
to build the openjdk source for a particular platform, but it
certainly is a
critical issue for us. Compiler changes are carefully tracked.
More information about the build-dev