This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compiling gcj 4.0.2 for windows on unbuntu
- From: "Ranjit Mathew" <rmathew at gmail dot com>
- To: gnustuff at thisiscool dot com
- Cc: "Andi Vajda" <andi at osafoundation dot org>, GCJ <java at gcc dot gnu dot org>
- Date: Sun, 23 Jul 2006 07:38:26 +0530
- Subject: Re: compiling gcj 4.0.2 for windows on unbuntu
- References: <Pine.OSX.4.64.0606162000420.552@yuzu.local> <WSC21UA5MKZTVS93OI3UPSOFCFAQM.44c28908@d9300>
On 7/23/06, Mohan Embar <gnustuff@thisiscool.com> wrote:
Andi> I just gave this a try and it got me past the first error. The compile then
Andi> still fails on libjava/prims.cc. It looks like /usr/include and windows header
Andi> files are clashing. See below.
I'm getting the exact same error on the 4.2 tree I checked out yesterday
with Ranjit's scripts. Why in the world would the cross compiler be looking in
/usr/include? And why didn't Ranjit come across this?
I haven't built GCJ/MinGW in about a week or so. Perhaps you're
not following the sysroot thingy properly? You might also want to
take a look at the updated scripts. See:
http://rmathew.com/articles/gcj/bldgcj.html
I'm sorry for not being concrete, but I haven't faced these issues
with mainline for GCJ/Windows.
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/