This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: crosscompiler running on windows, compiling for linux
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Marco Trudel <mtrudel at gmx dot ch>
- Cc: GCJ <java at gcc dot gnu dot org>
- Date: Wed, 14 Jun 2006 08:03:30 +0530
- Subject: Re: crosscompiler running on windows, compiling for linux
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <448F2701.8010100@gmx.ch>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marco Trudel wrote:
>
> Any hints on how to build gcj, so that it will run on windows and
> compile for linux? I think I've to just adapt the target in Ranjits
> cross-compile howto (http://rmathew.com/articles/gcj/bldgcj.html) in
> step 2 to i686-gnu-linux.
> But what are the needed packages from the gcc compiler? For windows, the
> mingw-runtime and w32api are needed. What is the equivalent for linux?
I've never tried this out myself, but at the minimum you'd
need the C runtime headers and libraries and the assembler,
linker, etc. ("binutils").
A somewhat dated set of instructions can be found here:
http://www.thrashmaster.com/developer/crossgcc.htm
but I don't know if this still works or not.
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
iD8DBQFEj3V5Yb1hx2wRS48RAp8FAKCDHGCIKkraOPnVKsHFRbCQq5DTWACggJRf
PZlAJNbbMf8dUO/o9oH0WLA=
=gvvk
-----END PGP SIGNATURE-----