I installed gpc-2.1-with-gcc.i686-pc-linux-gnu.tar.gz under my previous Linux (Red Hat 8.) and it worked without any problems.
I did the same under Red Hat 9. When I tried to compile a program 'gpc' complained:
gpc: installation problem, cannot exec `gpcpp': No such file or directory
I put then in /usr/local/bin a symbolic link:
gpcpp ->/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/gpcpp
Now I got the message:
gpc: installation problem, cannot exec `gpc1': No such file or directory
I added the link:
gpc1 -> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/gpc1
Now I got a series of messages from the linker; some of them:
--------------------------------------------- /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x5d6): In function `_p_LocaleUpCase': /home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:838: undefined reference to `__ctype_toupper' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x5ea): In function `_p_LocaleLoCase': /home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:846: undefined reference to `__ctype_tolower' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x5fe): In function `_p_IsUpCase': /home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:851: undefined reference to `__ctype_b' (... more deleted ...) -----------------------------------------------
Any idea what the problem is? I am not a Linux expert and would appreciate simple advice :-). Please send a copy of the answer to my address because I am not a subscriber to this list.
Thanks!
-- Tomasz Kowaltowski