Hiekkalinna Tero wrote:
I have problem with GPC under Redhat 9 (x86), I have installed GPC (version: gpc-20030507-with-gcc.i686-pc-linux-gnu.tar.gz) according to install instructions. And after that I run install-gpc-binary shell script (in /usr/local dir.) which told GPC install was OK, and told to add GPC_EXEC_PREFIX variable to enviroment. here is more info
GPC version:
% gpc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs Configured with: ../gcc-3.2.2/configure --enable-languages=pascal --prefix=/usr/local Thread model: posix gpc version 20030507, based on gcc-3.2.2
GPC variable:
% echo $GPC_EXEC_PREFIX /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/
What are the contents of that directory?
/home/frank/gpc/gcc-3.2.2/gcc/p/rts/rts.c:871: undefined reference to `__ctype_toupper'
I don't know of this problem. Does such a function exist in some library (you might want to grep for it in /usr/lib/lib* or so ...)?
If so, does it help if you add this library explicitly on the command-line?
Frank