Dan McGhee wrote:
Randy McMurchy wrote:

Dan McGhee wrote these words on 01/01/06 15:05 CST:
I'm trying to build JDK-1.5.0_05 using SVN. I just build LFS 6.1 on my laptop and have gcc-3.4.3 installed.


I'm not sure anyone has tried this combination before. I can't
remember if DJ worked with this or started right in with GCC-4
when he was first testing JDK-1.5.

<Snip>


Since I have zero, zip, nada knowledge about troubleshooting compilers, I'll go with the stable version. Maybe, DJ will come up with something and then I'll try it. Thanks again.

BTW.  Happy new year to you and all on the list.

Dan

Sorry for the late reply, and happy new year to you. To answer the history question, I had moved to gcc4 with the original 1.5.0 SCSL release. I've never built any of the update releases with gcc-3.4.x. I also cannot even attempt a guess wether the gcc-4.x fixes will work with gcc-3.4. But if I were you, I'd use the precompiled version anyway unless you are just dead set to compile _only_ from source, and if that's what you want, then there are options.

The first option is to compare the troubled code with the changes made in the gcc-4.x patch, but this can be difficult because of changes to some header file that would seem completely unrelated if you don't know how to follow the code. The gcc error message will tell you what you need to know, but not always the exact location.

The second option is to try the newer patch set outright. I have no clue wether it will work. I can only say that it might work as most of the problems with gcc4 are related to the less forgiving syntax. Short of CPU time, it certainly can't hurt to try it. But, even if it compiles, the real results won't be known until it's been used and abused for some time, which is not exactly what you want if you intend this system to be used. :-) I wish I could be a little more definitave.

Third, you can check out gentoo, sourcemage and other build from source distros...in fact this may be the best way to go about it.

Again, I'll restate, my first suggestion is to use the precompiled version. I usually do because of the time lapse between binary and source releases. I can only recall one problem with using the binary since the very first release (javaws was broken, but fixed in the source build and in update 2 IIRC, and that was an NPTL problem).

Hope that helps a little bit anyway.

-- DJ Lucas

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to