new gcc on rh 7.3

From: Nico Heid (
Date: 08/24/03

Date: Sun, 24 Aug 2003 18:53:13 +0200

i have a remote machine somewhere in the net.
i have all rights, connect via ssh.

so far so good ;-p

this server is running a miminalistic redhat 7.3

i want/need a new gcc for some programs.

rpm installing doesn't work so i thought about building
the gcc manually.

visited downloaded sources but compiling always fails.

does anyone know a kind of "easy instruction" how to set up
gcc and why compiling could fail?

i get errors like these:

(excerpt of make output after compile was fine)
p.c:500: more undefined references to `__ctype_b' follow
../libiberty/libiberty.a(regex.o): In function `xregcomp':
: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
make[1]: *** [grepjar] Error 1

thanks for any help