Hi,
on the search for an ISO 7185 compliant compiler I found gpc, which I have installed in Suse 7.2 Linux, however, trying to compile something doesn't work:
gpc: installation problem, cannot exec `gpcpp': No such file or directory
Now I have no idea what to do (the documentation does not say something about that (at least I didn't find it)).
Can somebody help?!
Thanks in any case!
Oliver
On Thu, 26 Jul 2001, Oliver Kullmann wrote:
Hi,
on the search for an ISO 7185 compliant compiler I found gpc, which I have installed in Suse 7.2 Linux, however, trying to compile something doesn't work:
gpc: installation problem, cannot exec `gpcpp': No such file or directory
Depending on your installation it should be located in
/usr/local/lib/gcc-lib/your-platform/gcc-version/
If you built it yourself probably you changed the installation prefix to something diffrent from the default /usr/local. Or maybe you tried to install GPC without needed permissions for target directories. Try to redo the installation and read carefully the errors if any occur. Regards, Adam Naumowicz
-------------------------------------- WWW: http://math.uwb.edu.pl/~adamn/ --------------------------------------
On Thu, 26 Jul 2001, Oliver Kullmann wrote:
Hi,
on the search for an ISO 7185 compliant compiler I found gpc, which I have installed in Suse 7.2 Linux, however, trying to compile something doesn't work:
gpc: installation problem, cannot exec `gpcpp': No such file or directory
Depending on your installation it should be located in
/usr/local/lib/gcc-lib/your-platform/gcc-version/
Thanks! However, yet I didn't make progress; in
/usr/lib/gcc-lib/i486-suse-linux/2.95.3
I didn't find gpcpp; the content of that directory is
ls SYSCALLS.c.X collect2 crtend.o include libg++.so libobjc.a units cc1 cpp0 crtendS.o jc1 libg2c.a libstdc++.a cc1obj crtbegin.o f771 jvgenmain libgcc.a libstdc++.so cc1plus crtbeginS.o gpc1 libg++.a libgpc.a specs
If you built it yourself probably you changed the installation prefix to something different from the default /usr/local. Or maybe you tried to install GPC without needed permissions for target directories. Try to redo the installation and read carefully the errors if any occur.
I used the installation by yast (the Suse installation tool), which usually works pretty well ...
I guess I'm doomed and I have to install gpc myself?
Oliver
hi, we got the similar problem with solaris.
If u downloaded the sources in binary form : 1. Either you should unpack it from the root directory (OR) Run the shell script provided in gpc ftp site (install-gpc-binary file in the binary directory). in installation directory It's how we solved the problem on solaris. Hope this will solve your problem also regards hari
O.Kullmann@swansea.ac.uk wrote:
Hi,
on the search for an ISO 7185 compliant compiler I found gpc, which I have installed in Suse 7.2 Linux, however, trying to compile something doesn't work:
gpc: installation problem, cannot exec `gpcpp': No such file or directory
Now I have no idea what to do (the documentation does not say something about that (at least I didn't find it)).
Can somebody help?!
Thanks in any case!
Oliver
On Fri, 27 Jul 2001, Kocherlakota Harikrishna wrote:
hi, we got the similar problem with solaris.
If u downloaded the sources in binary form :
- Either you should unpack it from the root directory (OR) Run the shell script provided in gpc ftp site (install-gpc-binary file
in the binary directory). in installation directory It's how we solved the problem on solaris. Hope this will solve your problem also regards hari
I guess Oliver used *.rpm package as he wrote he tried to install GPC with YAST. Unfortunately I don't have a free SuSE machine at hand to check the package but I suppose that the SuSE team just incorporated the original install script into their package, so all you wrote is valid. Once again it appears that the best way to install GPC is simply building it yourself having all control in your own hand. Regards, Adam Naumowicz
-------------------------------------- WWW: http://math.uwb.edu.pl/~adamn/ --------------------------------------
O.Kullmann@swansea.ac.uk wrote:
Hi,
on the search for an ISO 7185 compliant compiler I found gpc, which I have installed in Suse 7.2 Linux, however, trying to compile something doesn't work:
gpc: installation problem, cannot exec `gpcpp': No such file or directory
Now I have no idea what to do (the documentation does not say something about that (at least I didn't find it)).
Can somebody help?!
Thanks in any case!
Oliver
On Fri, 27 Jul 2001, Kocherlakota Harikrishna wrote:
hi, we got the similar problem with solaris.
If u downloaded the sources in binary form :
- Either you should unpack it from the root directory (OR) Run the shell script provided in gpc ftp site (install-gpc-binary file
in the binary directory). in installation directory It's how we solved the problem on solaris. Hope this will solve your problem also regards hari
I guess Oliver used *.rpm package as he wrote he tried to install GPC with YAST. Unfortunately I don't have a free SuSE machine at hand to check the package but I suppose that the SuSE team just incorporated the original install script into their package, so all you wrote is valid. Once again it appears that the best way to install GPC is simply building it yourself having all control in your own hand. Regards, Adam Naumowicz
Hm, it seems that I can not use the install-gpc-binary since there is no gpc home directory in my installation, and also the paths are different. So I downloaded the package for GPC, but that seems also to be difficult, since it installs gcc at the same time, and that is already perfectly installed, and I definitely don't want to change that (again, the paths are different, ...)
So, it seems that gpc is not for me. That free pascal compiler is installed and running, but I guess that is not better than dcc, the Kylix object pascal compiler. I have the Kylix package, but since they do not specify the relation of Borland Object Pascal to Standard Pascal, and in fact only the simplest constructs from Standard Pascal seem to work under dcc, I looked for some standard Pascal compiler.
Thanks in any case!
Oliver
It looks like you are doing this under linux? It was always preferable to compile it from source on this platform. The procedure is very straightforward and described in details in gcc/install directory, read gpc install instructions as well. Just make sure to download corresponding source of gcc (that would be gcc-2.95.3 or 2.95.2 (either would work) for latest gpc source (under alpha directory, latest betta is in fact too much outdated and even less stable)). Don't install gcc itself (use --enamble-languages=pascal flag for configure).
George
On Fri, 27 Jul 2001, Oliver Kullmann wrote:
On Fri, 27 Jul 2001, Kocherlakota Harikrishna wrote:
hi, we got the similar problem with solaris.
If u downloaded the sources in binary form :
- Either you should unpack it from the root directory (OR) Run the shell script provided in gpc ftp site (install-gpc-binary file
in the binary directory). in installation directory It's how we solved the problem on solaris. Hope this will solve your problem also regards hari
I guess Oliver used *.rpm package as he wrote he tried to install GPC with YAST. Unfortunately I don't have a free SuSE machine at hand to check the package but I suppose that the SuSE team just incorporated the original install script into their package, so all you wrote is valid. Once again it appears that the best way to install GPC is simply building it yourself having all control in your own hand. Regards, Adam Naumowicz
Hm, it seems that I can not use the install-gpc-binary since there is no gpc home directory in my installation, and also the paths are different. So I downloaded the package for GPC, but that seems also to be difficult, since it installs gcc at the same time, and that is already perfectly installed, and I definitely don't want to change that (again, the paths are different, ...)
So, it seems that gpc is not for me. That free pascal compiler is installed and running, but I guess that is not better than dcc, the Kylix object pascal compiler. I have the Kylix package, but since they do not specify the relation of Borland Object Pascal to Standard Pascal, and in fact only the simplest constructs from Standard Pascal seem to work under dcc, I looked for some standard Pascal compiler.
Thanks in any case!
Oliver
On Fri, 27 Jul 2001, Oliver Kullmann wrote:
So I downloaded the package for GPC, but that seems also to be difficult, since it installs gcc at the same time, and that is already perfectly installed, and I definitely don't want to change that (again, the paths are different, ...)
Someone else posted this "trick" a while back:
configure and build gpc + gcc per directions, then instead of the last step, make install do a cd gcc make pascal.install
Thus this installs gpc without installing gcc
Russ
On Fri, 27 Jul 2001, Oliver Kullmann wrote:
So, it seems that gpc is not for me. That free pascal compiler is installed and running, but I guess that is not better than dcc, the Kylix object pascal compiler. I have the Kylix package, but since they do not specify the relation of Borland Object Pascal to Standard Pascal, and in fact only the simplest constructs from Standard Pascal seem to work under dcc, I looked for some standard Pascal compiler.
I have to keep some code compilable on various platforms so I use GPC under Linux on i386 and Solaris on Sparc machines. For the last it is the only possible solution for me. Under Linux I also use Free Pascal and Kylix, under Windows Free Pascal and Delphi. In my case the only advantage of Borland tools is the speed of compilation, the generated code is not as good as that of Free Pascal in some situations. And of course Borland provides that nice RAD environment but I'm not very interested in it. Anyway, you have to choose by yourself the compiler which suits your needs. Regards, Adam Naumowicz
-------------------------------------- WWW: http://math.uwb.edu.pl/~adamn/ --------------------------------------