This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compiling gcc-4.1.1 for windows on linux
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Marco Trudel <trudemar at zhwin dot ch>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 06 Jun 2006 08:40:54 +0530
- Subject: Re: compiling gcc-4.1.1 for windows on linux
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <44843F8A.3090201@zhwin.ch>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marco Trudel wrote:
>
> Following this tutorial http://rmathew.com/articles/gcj/bldgcj.html, I'm
> trying to compile gcj on linux for windows.
Since that article and the associated scripts were written
a while ago, they're not up-to-date w.r.t. GCC 4.1 and the
current mainline. :-( I'm trying to rectify matters right
now, but I'm still struggling with the magic incantation
needed to get it all working.
> Compiling a java programm with a System.out.println() works. But it
> doesn't do anything when starting it on windows (the console just keeps
> empty). Any ideas?
Not from me, sorry.
> But because gcc itself worked, I hoped that gcj would work after
> compiling gcc/gcj so that it runs on windows.
> Unfortunaly I get some compiling errors for the second step:
>
> - configure: cannot find javac, try --with-gcj, --with-jikes,
Add "--with-gcj=$TARGET-gcj" to the configure command at the
end of the "cfgwingcc.sh" script, clean up your build folder
and try again. As I said before, I will update my scripts/article
once I can get stuff working properly again.
> Any help would really be appreciated... I'm now trying to get the
> gcc-4.1.1 compiled for over a week and begin to be a little desperated...
My apologies for letting that page and the scripts rot for
so long, but please be a little patient as I try to get things
working again.
HTH,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEhPI9Yb1hx2wRS48RAhBXAJ9kjJb4zxeLYTIa9EhsUQXCO71SxQCfbusW
jUBsK8XNvr//pnkpxI1HLhI=
=VzPF
-----END PGP SIGNATURE-----