Trying to build 1.5.0 - Where is gcc 3.2.1-7 !!!?

I am trying to build Java 1.5.0 from source. The build instructions here (http://java.sun.com/j2se/1.5.0/scsl/build-linux.html) say that either gcc 3.2.2 or 3.2.1-7a is required. Gcc 3.2.2 is easy enough to find in rpm format. So I started with that.

Unfortunately, the Java 1.5.0 make process promptly tells me that gcc 3.2.2 is not supported and that I must use 3.2.1-7a.

But I cannot find gcc 3.2.1-7a anywhere! I read somewhere that 3.2.1-7a is simply 3.2.1-7 compiled with binutils 2.13. But I can't find gcc 3.2.1-7 either.

Does anyone know where I can find gcc 3.2.1-7? Or how I make the Java 1.5.0 build work with gcc 3.2.2?

Thanks!

[673 byte] By [sdzurenkoa] at [2007-11-26 23:59:49]
# 1
how OS are you using? What distro?
Vagabona at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 2
I'm using RedHat 7.2.
sdzurenkoa at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 3
Never used red hat, I know Ubuntu has Java in it's Package Manager, Red Hat might too. Do you have build essentials installed?
Vagabona at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 4
What are build essentials?
sdzurenkoa at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 5
it's the gcc for your CPU, along with all the make stuff (if that is not already part of the gcc). Look up on Red Hats documentation how to do it, they should have something.
Vagabona at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 6

Oh. Yes, I have all the essential build tools installed for RedHat 7.2. My problem is that I need gcc 3.2.1-7a to build Java 1.5.0. And that's what I can't seem to find anywhere on the internet - gcc 3.2.1-7a.

One would think that if it is the required compiler for Java 1.5.0 that Sun would include a link to that compiler version, or at least some instructions on where to find it.

www.gnu.org is no help either. Searching their site for gcc 3.2.1-7 shows nothing. I can find the gcc-3.2.1 tarball in their archives, but no gcc-3.2.1-7.

It's most annoying. The gcc version required by Sun to build Java 1.5.0 appears to be mythical. I can't believe I'm the only one having this problem. What am I doing wrong?

sdzurenkoa at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 7
I believe gcc 3.2.1-7 means any versions between 3.2.1 and 3.2.7
Vagabona at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 8

I appreciate your feedback, but 3.2.1-7 means 3.2.1-7, not 3.2.1-1 through 3.2.1-7.

Sun's Java 1.5.0 source build instructions actually say that gcc 3.2.1-7a is required. I did manage to find someone who was able to tell me that gcc 3.2.1-7a is simply gcc 3.2.1-7 recompiled with binutils 2.13. I don't know which version of binutils 3.2.1-7 is compiled with by default.

If I ever find gcc 3.2.1-7 or figure out how to build Java 1.5.0 from source, I'll post the results here.

sdzurenkoa at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...
# 9
binutil's should be hard to find. Check your package manager for what verison you have and update it if you need to, then just build gcc.
Vagabona at 2007-7-11 15:49:10 > top of Java-index,Java Essentials,New To Java...