17-Dec-99 23:21 you wrote:
Hello,
My name is Marc SERRAU and I discovered the GNU Pascal Compiler few days ago. I installed it on my linux based PC from the binary package.
^^^^^^^^^^^^^^
(rpm) The installation worked well but I always become the following message after compiler even with a trivial Hello.pas program :
[marc@altair hisix]$ gpc hello.pas ld: cannot open -lgcc: Aucun fichier ou rц²pertoire de ce type
The linker cannot find some stuff, but what ?
Linker can not find gcc (NOT GPC!) library. GPC is based on GCC and usings standard GPC library.
The gcc compiler was installed from an RH 6.0 distrib.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Here is your problem: GPC can not be used with different version of GCC. If it's compiled from sources against of GCC 2.8.1 you need GCC 2.8.1 to run the beast, if it's compiled against of EGCS 1.1.2 you need EGCS 1.1.2 and so on. Even minor changes (EGCS 1.1.1 => EGCS 1.1.2) will break harmony :-)
Who can help me ? Thank you for your effort.
Take look on what version of gcc compiler was used for gpc building (use `rpm -ql <packagename>' , then look -- in which directory backend is installed) and then install this version of gcc (at least backend). Or you can grab sources of gcc from RedHat's CD and rebuild GPC from sources.