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 gcj 4.0.2 for windows on unbuntu


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andi Vajda wrote:
> I'm carefully following Ranjit's steps at [1] to build gcj 4.0.2 for Windows 
> on Ubuntu Dapper Drake (6.06). When compiling the cross-compiler for windows, 
> I get the error (1) included below.

[...]

> What am I missing or doing wrong here ?

The following two patches are what necessitated the changes
in the instructions and the scripts:

  http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00122.html
  http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01579.html

and I think the 4.0 sources do not have them. In that
case the old instructions should be used - that is,
forget about this sys-root business and just extract
mingw-runtime and w32api into the "$PREFIX/$TARGET"
folder (you will also have to remove the "--with-sysroot"
and "--with-build-sysroot" specifications from the
configure command).

I've not tried the above and I would be interested to
know if anything else needs to be done for GCC 4.0.x
and GCC 4.1.x.

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

iD8DBQFEk2OZYb1hx2wRS48RAo0CAJkBT3Nl2k8+KlKsAAX/V9Ke9h66TgCfbFm0
XsvHf+3KlBnpAlv262eO2BM=
=VCR4
-----END PGP SIGNATURE-----


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