|
From: Earnie B. <ea...@us...> - 2013-01-06 16:20:38
|
Forwarding to the mingw-users list for discussion. ---------- Forwarded message ---------- From: JohnT <no...@so...> Date: Sat, Jan 5, 2013 at 2:42 PM Subject: building gcc java To: Earnie Boyd <ea...@us...> Cc: JohnT <ib...@us...> Hello. I\'ve successfully built gcc java (gcj, etc) for gcc 4.7.2 and I think gcc 4.6.3 in Mandriva 2010 Linux. There\'s a file in an earlier gcc that\'s buggy, for example in the gcc 4.4.1 release of java files for Mandriva Linux. That file\'s used in compilation and causes failure to compile gcj, I think. I don\'t recall the details. The workaround is to remove the buggy existing gcc java package and then compile gcc including java. I don\'t know if java compiles by default or if you have to list the requested languages --enable-languages=c,c++, etc but if so, include java in that list. The compilation will use the just-compiled java files to complete java compilation. This approach ought to work in a mingw build too---get rid of the old buggy gcc java first. Thanks for your good work. I don\'t do any serious programming, just hobby stuff like tinkering with GNU Chess 3.1 and GNU Chess 4.0 PL 80. -- Earnie -- https://sites.google.com/site/earnieboyd |