This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling gcc-4.1.1 for windows on linux


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]