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: crosscompiler running on windows, compiling for linux


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


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