Compiling and linking Gnu-Pascal under Fedora 11 on x86_64 hardware.

John Gordon Ollason john at
Tue Dec 8 17:22:39 CET 2009


I had to upgrade my hardware from i686 to x86_64 and my operating system  
 from Fedora Core 4 to Fedora Core 11. I have tried to install Gnu-Pascal  
by downloading several versions from the Gnu-Pascal homepage and all  
attempts fail Every attempt to use make terminated in errors as follows:
. . .
make[2]: *** [32/] Error 1
make[2]: Leaving directory `/usr/local/src/gpcbuild/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/local/src/gpcbuild/gcc'
make: *** [all-gcc] Error 2
I downloaded the install.gpc script and that didn't work either. The  
closest I have got to a working system is illustrated by the listing below.
$ gpc -v hello.p
Using built-in specs.
Configured with: ../gcc-3.4.4/configure --enable-languages=pascal :  
(reconfigured) ../gcc-3.4.4/configure --enable-languages=pascal :  
(reconfigured) ../gcc-3.4.4/configure --enable-languages=pascal :  
(reconfigured) ../gcc-3.4.4/configure --enable-languages=pascal
Thread model: posix
gpc version 20070904, based on gcc-3.4.4
  gpc1 -quiet -v hello.p -quiet -dumpbase hello.p -mtune=k8  
-famtmpfile=/tmp/cceErexo.gpa -version -o /tmp/ccsxBXZC.s
GNU Pascal version 20070904, based on gcc-3.4.3 (x86_64-unknown-linux-gnu)
	compiled by GNU C version 4.4.1 20090725 (Red Hat 4.4.1-2).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Pascal Compiler PreProcessor version 20070904, based on gcc-3.4.3

  as -V -Qy -o /tmp/ccUtT5MU.o /tmp/ccsxBXZC.s
GNU assembler version (x86_64-redhat-linux) using BFD version  
version 20090722
  ld --eh-frame-hdr -m elf_x86_64 -dynamic-linker  
/lib64/ /usr/lib/../lib64/crt1.o  
/usr/lib/../lib64/crti.o /usr/lib/../lib64/crtbegin.o  
-L/lib/../lib64 -L/usr/lib/../lib64 /tmp/ccUtT5MU.o -lgpc -lm -lgcc -lc  
-lgcc crtend.o /usr/lib/../lib64/crtn.o
ld: cannot find -lgpc
and there I am stuck.

Any constructive suggestions about what to try next would be very welcome.


John O.

More information about the Gpc mailing list