Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MinGW gcj for Windows?

Tags:

gcc

mingw

gcj

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?

like image 219
user541686 Avatar asked Feb 15 '11 09:02

user541686


People also ask

Can MinGW compile Java?

Support for Windows using MinGW is also available. It can compile Java source code to either Java bytecode (class files) or native machine code. It can also compile Java bytecode to native machine code.

Does GCC support Java?

Within GCC, it comprises the Java programming language front-end (gcc/java), a runtime library (libjava) and other helper libraries (boehm-gc, libffi and zlib). Most of the runtime library implementation is shared with the GNU Classpath project.


1 Answers

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.

like image 142
damjan Avatar answered Oct 04 '22 21:10

damjan