Compiling and linking Gnu-Pascal under Fedora 11 on x86_64 hardware.
John Gordon Ollason
john at houseofdeer.co.uk
Tue Dec 8 17:22:39 CET 2009
Greetings,
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/libgcc_s_32.so] 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
fail.
--
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 2.19.51.0.14 (x86_64-redhat-linux) using BFD version
version 2.19.51.0.14-1.fc11 20090722
ld --eh-frame-hdr -m elf_x86_64 -dynamic-linker
/lib64/ld-linux-x86-64.so.2 /usr/lib/../lib64/crt1.o
/usr/lib/../lib64/crti.o /usr/lib/../lib64/crtbegin.o
-L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.4
-L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.4/../../../../lib64
-L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.4/../../..
-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.
Thanks,
John O.
More information about the Gpc
mailing list