Peter,
Many thanks for your help. Here's what happened.
On Fri, 31 Oct 1997, Peter Gerwinski wrote:
/tmp/cca02238.i:1: numeric constant with no digits
This problem once occured with an old version of `libc.so'. You are possibly using `libc.so.5.3.12'. Upgrading to `libc.so.5.3.20' or above might solve your problem.
I installed `libc.so.5.4.23' hoping that it is above `5.3.20' but that did not change the behavior of gpc.
Alternatively, you can compile your own GPC. That's not that hard
So, I took this option. But on the following command, lots of things happen (all magic to me) then it ends.
make CFLAGS=-O3 LANGUAGES=pascal
The output of the second go-round, after the initial failure gives this output:
rm -f tmplibgcc2.a for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatd ixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _pure; \ do \ echo ${name}; \ ./xgcc -B./ -O2 -DIN_GCC -DUSE_GNULIBC_1 -O3 -I./include -fPIC -g1 -I. -I. -I./config -c -DL${name} \ ./libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ ar rc tmplibgcc2.a ${name}.o; \ rm -f ${name}.o; \ done _muldi3
This is what the ending looks like:
/tmp/cca12043.i:1: numeric constant with no digits /tmp/cca12043.i:1: numeric constant with no digits /tmp/cca12043.i:1: invalid #line /tmp/cca12043.i:34: numeric constant with no digits /tmp/cca12043.i:34: numeric constant with no digits /tmp/cca12043.i:34: invalid #line /tmp/cca12043.i:35: numeric constant with no digits /tmp/cca12043.i:35: numeric constant with no digits /tmp/cca12043.i:35: invalid #line /tmp/cca12043.i:57: numeric constant with no digits /tmp/cca12043.i:57: numeric constant with no digits /tmp/cca12043.i:57: invalid #line /tmp/cca12043.i:100: numeric constant with no digits /tmp/cca12043.i:100: numeric constant with no digits /tmp/cca12043.i:100: invalid #line /tmp/cca12043.i:101: numeric constant with no digits /tmp/cca12043.i:101: numeric constant with no digits /tmp/cca12043.i:101: invalid #line /tmp/cca12043.i:129: numeric constant with no digits /tmp/cca12043.i:129: numeric constant with no digits /tmp/cca12043.i:129: invalid #line /tmp/cca12043.i:187: parse error at null character /tmp/cca12043.i:187: virtual memory exhausted make: *** [libgcc2.a] Error 1
At the very end the disk thrashes for a few tens of seconds, then make reports the error.
I am working with 32M RAM and a 32M swap partition.
I appreciate your hard work--the compile is fascinating and appears to be extremely complex.
Thanks for any help you might be able to offer.
Tom
Thomas S. Dye, Ph.D. Home: 813 16th Avenue, Honolulu, Hawaii 96816. Voice (808) 734-2087. Work: International Archaeological Research Institute, Inc., 949 McCully St., Suite 5, Honolulu, Hawaii 96826. Voice (808) 946-2548; Fax 943-0716.