MinGW gcj for Windows?

2019-05-23 10:48发布

问题:

I can't find the link to the binaries for gcj for MinGW; it doesn't show up on the MinGW-get list, and I can't find the binaries on the site.

Does it even exist? Where can I find it?

回答1:

If you have a look here, you'll see the text:

The Java language is absent, pending resolution of build issues.

That's for gcc 4.5.2. It seems to be missing from all the 4.5 streams.

There's some Java stuff in the 4.4 stream if you want to check that out.



回答2:

Just because the MinGW website doesn't build GCJ doesn't mean nobody else does. Look at http://www.thisiscool.com/gcc_mingw.htm where they have Windows binaries. I've just tested it and it works like a charm, even allows libgcj to be statically linked.



标签: gcc mingw gcj