Hi all
I have tried several times in the past to install GPC on linux with different degrees of success... :)
Are there any RPM or binary distibutions for the newest GPC for RedHat 7.2? If not, what version of gcc is the preferred one to use in the compilation step at the time? Currently I have downloaded gcc-core-2.95.2.tar.gz and gpc-20020402.tar.gz from http://www.gnu-pascal.de/current/ I already have the RH7.2 standard gcc installed, and I'd like to install gpc for a user, not root...
Best regards
Preben Bohn
===== Lack of skill dictates economy of style.
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
In article 20020408123610.94088.qmail@web21402.mail.yahoo.com, Preben Mikael Bohn preben_bohn@yahoo.com writes
Are there any RPM or binary distibutions for the newest GPC for RedHat 7.2? If not, what version of gcc is the preferred one to use in the compilation step at the time? Currently I have downloaded gcc-core-2.95.2.tar.gz and gpc-20020402.tar.gz from http://www.gnu-pascal.de/current/ I already have the RH7.2 standard gcc installed, and I'd like to install gpc for a user, not root...
Just follow the instructions in the gpc tar.gz. We run RedHat 7.2 with gcc 2.95.2 and it has worked every time for us and does allow an ordinary user to use gpc. Come back and ask more questions if you get stuck.
=?iso-8859-1?q?Preben=20Mikael=20Bohn?= wrote:
Hi all
I have tried several times in the past to install GPC on linux with different degrees of success... :)
Are there any RPM or binary distibutions for the newest GPC for RedHat 7.2? If not, what version of gcc is the preferred one to use in the compilation step at the time? Currently I have downloaded gcc-core-2.95.2.tar.gz and gpc-20020402.tar.gz from http://www.gnu-pascal.de/current/ I already have the RH7.2 standard gcc installed, and I'd like to install gpc for a user, not root...
The only special thing to note then is to configure it with an appropriate prefix (you could also set environment variables when using it, but if you plan it from the start, configuring is easier). I always do in this situation:
.../configure --prefix=$HOME/usr ...
This puts the binaries in ~/usr/bin.
Frank
Hi Frank, I did this.
However I also did a "make pascal.install", which meant that I had a lot of problems with my current C-compiler... :-) A "make install" did the job... :) Thank you all...
Best regards
Preben Bohn
--- Frank Heckenbach frank@g-n-u.de wrote: > =?iso-8859-1?q?Preben=20Mikael=20Bohn?= wrote:
Hi all
I have tried several times in the past to install GPC on linux
with
different degrees of success... :)
Are there any RPM or binary distibutions for the newest GPC for RedHat 7.2? If not, what version of gcc is the preferred one to
use
in the compilation step at the time? Currently I have
downloaded
gcc-core-2.95.2.tar.gz and gpc-20020402.tar.gz from http://www.gnu-pascal.de/current/ I already have the RH7.2
standard
gcc installed, and I'd like to install gpc for a user, not
root...
The only special thing to note then is to configure it with an appropriate prefix (you could also set environment variables when using it, but if you plan it from the start, configuring is easier). I always do in this situation:
.../configure --prefix=$HOME/usr ...
This puts the binaries in ~/usr/bin.
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html
===== Lack of skill dictates economy of style.
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com