Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Waldek Hebisch
Subject: Compiling and linking Gnu-Pascal under Fedora 11 on x86_64 hardware.
Date: 9 Dec 2009, 14:03:25
John Gordon Ollason wrote: > 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. > You did not say what commands you use to configure and compile gpc. Let me repeat here what I wrote recently to Ernst-Ludwig Bohnen: > I would suggest the following: > > ..../configure --enable-languages=pascal --prefix=/usr/gnu > --disable-multilib > > ..../make bootstrap > > ATM gpc does not support multilibs, ommiting '--disable-multilib' may > cause trouble. The second thing is 'make bootstrap': using gcc-3.4.x > plain make is safe only if your installed gcc is the same gcc version > (you may be lucky and build _may_ work, but your troubles probably > are caused by missing the bootstrap part). The compiler message suggest that you did not use '--disable-multilib'. It seems that you did not use 'make bootstrap'. Basicaly, all reports about build failure/not working install on on 64-bit systems which do not use that flags are a noise. BTW: While using gcc-3.4.4 probably did not cause your problem, gcc-3.4.6 fixes quite a few gcc bugs so it is better to use it instead of 3.4.4 (or 3.4.3).
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| John Gordon Ollason | Compiling and linking Gnu-Pascal under Fedora 11 on x86_64 hardware. | 8 Dec 2009, 16:22:39 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).