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: Problems Linking prims.o in libjava


Jackson Jones wrote:
David,

Thanks, for the link. I am using binutils-2.17.50 (the powers that be
wanted to use WindRiver, but they don't support Java) and glibc-2.5. I
gave up trying to build java inside their workbench (a modifed version
of eclipse) and just took their patched source and am building
outside. Their patches are only for C/C++. I can modify the source now
that I am free of workbench.


There are real reasons that I recommended the versions I did. Specifically there are bugs in earlier binutils versions that cause bad code to be generated with libgcj on mips[el]-linux. Also there was a tremendous amount of work improving the mips port of GCC and GCJ and libgcj in 4.3. It does not make sense to me to not take advantage of it.


You can try older versions if you wish, but be prepared to get friendly with gdb.


I would recommend the instructions found here:

http://cross-lfs.org/view/svn/mips/

 for bootstrapping a cross-compiler.  For gcj/libgcj I would recommend
binutils 2.18 or later and the latest GCC 4.2.x or 4.3.x.  I have been using
glibc 2.6.1 and 2.7

David Daney



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