Re: Problems Linking prims.o in libjava

David Daney <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.