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


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/


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