hi all,
i tried the gpc binary (20040516 with gcc backend, i686 pc linux) on my debian woody box, and it ran smooth. i then tried to get that same package running on a suse linux box (running 9.1, i believe), and this is what it gives me when i try to compile the very same pascal program that worked on my debian box:
--- output starts ---
uhle@linux:~> gpc kreis3.p /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 5e3): In function `_p_UpCase': /home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:899: undefined reference to `__ctype_toupper' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 603): In function `_p_LoCase': /home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:906: undefined reference to `__ctype_tolower' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 622): In function `_p_IsUpCase': /home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:911: undefined reference to `__ctype_b' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 642): In function `_p_IsLoCase': /home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:916: undefined reference to `__ctype_b' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 662): In function `_p_IsAlpha': /home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:921: undefined reference to `__ctype_b' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 6a2): In function `_p_IsAlphaNum': /home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:926: undefined reference to `__ctype_b' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 712): In function `_p_IsSpace': /home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:936: undefined reference to `__ctype_b' /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgpc.a(rts.o)(.text+0x 732):/home/frank/gpc/gcc-3.3.3/gcc/p/rts/rts.c:941: more undefined references to `__ctype_b' follow collect2: ld returned 1 exit status
--- output ends ---
i'm slightly lost here: this seems to be a linking problem, but AFAIK the gcc 3.3.3 backend is included with the GPC package. anyone know why this happens? (or better yet: why does it happen on the suse box, but not on the debian box?).
oh, btw, the version of GPC is: gpc 20040516, based on gcc-3.3.3
thanks for your help in advance!
matthias schweinoch