Compiling GPC for Linux (was without Subject)-:

Ivan Torshin tiy at
Wed Jan 19 18:14:22 CET 2000

Dear Peter,
thank you for help. 
The linux binary version of gpc was downloaded from:

 upon compiling a.pas the following output is given:

program aaa;
   writeln ('This prints "aaa", does it ?');

>gpc -v a.pas

Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/specs
gpc version 19990118, based on gcc-2.8.1
 /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/gpc-cpp -lang-pascal -v 
cape -D__GNU_PASCAL__ -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -D__GPC__=2 
_MINOR__=0 -D__GPC_RELEASE__=19990118 -D__ELF__ -Dunix -Dlinux -D__ELF__ 
x__ -D__linux__ -D__unix -D__linux -Asystem(posix) 
x) -Acpu(i386) -Amachine(i386) -D__i386__ -D__i586__ -Asystem(unix) 
-Amachine(i386) a2.pas /tmp/cca19468.i
GNU CPP version 2.8.1 (i386 GNU/Linux with ELF)
#include "..." search starts here:
#include <...> search starts here:
End of search list.
 /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/gpc1 /tmp/cca19468.i 
-quiet -dum base a2.pas -version -famtmpfile=/tmp/cca19468.gpc -o 
GNU Pascal version 2.8.1 (i586-pc-linux-gnulibc1) compiled by GNU C 
version egcs
-2.91.60 19981201 (egcs-1.1.1 release).
/tmp/cca19468.i:1: numeric constant with no digits
/tmp/cca19468.i:1: numeric constant with no digits
/tmp/cca19468.i:1: invalid #line
/tmp/cca19468.i:2: warning: missing program header
/tmp/cca19468.i:2: parse error at null character

How could one get the executable? thank you.

More information about the Gpc mailing list