when i compile:
program t(input,output); type s1=string(10); var s:s1; begin readln(s); writeln(substr(s,2,3)); end.
with gpc on solaris or linux, it compiles fine. when i compile with emxgpc, i get:
... ld -o t.exe /emx/lib/crt0.o -L/emx/lib/st -L/emx/lib C:\DOS\cce00002 -lgpc -lgcc -lc -lc_app -lc -lgcc -lemx -los2 -lemx2 rts-string.c:144 (/emx/lib/gpc.a(rts-string.o)): Undefined symbol ___gcc_bcmp referenced from text segment rts-string.c:188 (/emx/lib/gpc.a(rts-string.o)): Undefined symbol ___gcc_bcmp referenced from text segment rts-string.c:190 (/emx/lib/gpc.a(rts-string.o)): Undefined symbol ___gcc_bcmp referenced from text segment
am i using the wrong emx package? (other things compile fine..just problems working with strings) where can i get libs compatible with the latest emxgpc?
-- Thomas Dunbar 540 231-3938 (fax 3714) http://gserver.grads.vt.edu/