有人用过gnu pascal编译器么?我去GNU网站下载了一个binary(非rpm)的可直接运行板本.按照它的要求在/目录解压了,可试编译时出现下面的错误:
[root@phoenix tmp]# gpc -o testpas absdemo.pas
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x46e): 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+0x482): 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+0x496): In function `_p_IsUpCase':
/home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:851: undefined reference to `__ctype_b'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x4af): In function `_p_IsLoCase':
/home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:856: undefined reference to `__ctype_b'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x4cd): In function `_p_IsAlpha':
/home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:861: undefined reference to `__ctype_b'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x501): In function `_p_IsAlphaNum':
/home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:866: undefined reference to `__ctype_b'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x563): In function `_p_IsSpace':
/home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:876: undefined reference to `__ctype_b'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o)(.text+0x581):/home/frank/gpc/gcc-2.95.3/gcc/p/rts/rts.c:881: more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status