Patrick Sharp wrote:
Greetings all,
I have installed the latest beta binary (gpc-19990118-egcs-1.1.1-i586-pc-linux-gnulibc1) on my Redhat system.
gcc --version reports egcs-2.91.66
Any source, including the demos, that I try to compile produces the following error message:
/tmp/<filename>.i:1: numeric constant with no digits /tmp/<filename>.i:1: numeric constant with no digits /tmp/<filename>.i:1: invalid #line /tmp/<filename>.i:1: warning: missing program header /tmp/<filename>.i:1: parse error at null character
I've gone through the documentation and have not been able to resolve this problem.
Has anyone else run into this?
Yes, that's a bug in the libc5 shipped with (some versions of?) Red Hat. Upgrading to 5.4.46 will help, or using any GPC version built with glibc (i586-pc-linux-gnu rather than i586-pc-linux-gnulibc1), or as Russ said, simply upgrading to a recent GPC which contains a work-around to this bug (and many other improvements as well, so this is recommended).
Frank