Hi, to install some of my programs, a FreeBSD user requires a current GPC version (preferably newer than 20000717). Is there any FreeBSD port available, or can someone provide one? (I have to experience with FreeBSD and no access to a FreeBSD machine myself.) If so, does it take care of installing cc1, cpp and libgcc.a as well, or will that have to be done manually? TIA, Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
Hi, On Sun, 29 Apr 2001, Frank Heckenbach wrote:
to install some of my programs, a FreeBSD user requires a current GPC version (preferably newer than 20000717). The latest port is gpc 19990118 .
(I have to experience with FreeBSD and no access to a FreeBSD machine myself.) If so, does it take care of installing cc1, cpp and libgcc.a as well, or will that have to be done manually? ports (like the debian- or red-hat package-system) *should* take care of everything.
You could try to use the linux-emulation to install a later version of gpc. This probably will be big fun :-) Uli.
TIA, Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
################################################### # # # www.pukruppa.de www.2000d.de # # # ###################################################
Peter Ulrich Kruppa wrote:
On Sun, 29 Apr 2001, Frank Heckenbach wrote:
to install some of my programs, a FreeBSD user requires a current GPC version (preferably newer than 20000717). The latest port is gpc 19990118 .
Obviously, I don't know much about FreeBSD. What he told me was: : And the version 2.0 of GPC, as can be found here: : http://www.freebsd.org/cgi/ports.cgi?query=gpc&stype=all So, is the 19990118 port also there, or what could I tell him? And are there no more recent ports (as I said, I'd prefer 20000717 or newer)?
You could try to use the linux-emulation to install a later version of gpc. This probably will be big fun :-)
Well, then perhaps rather directly the Linux version of the GPC compiled program. ;-) (But I don't think he'd like this. ;-) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
On Thu, 3 May 2001, Frank Heckenbach wrote:
Peter Ulrich Kruppa wrote:
On Sun, 29 Apr 2001, Frank Heckenbach wrote:
to install some of my programs, a FreeBSD user requires a current GPC version (preferably newer than 20000717). The latest port is gpc 19990118 .
Obviously, I don't know much about FreeBSD. What he told me was:
: And the version 2.0 of GPC, as can be found here: : http://www.freebsd.org/cgi/ports.cgi?query=gpc&stype=all
So, is the 19990118 port also there, or what could I tell him?
And are there no more recent ports (as I said, I'd prefer 20000717 or newer)? I had a close look at my port. In its pkg-descr it says:
GNU Pascal is part of the GNU compiler family, GNU CC or GCC. It combines a Pascal front-end with the proven GNU C back-end for code generation and optimization. Unlike utilities such as p2c, this is a true compiler, not just a converter. The current release 2.0 implements Standard Pascal (ISO 7185, level 1), a large subset of Extended Pascal (ISO 10206), and Borland Pascal. WWW: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/ On the other hand # gpc -v delivers: Reading specs from /usr/local/lib/gcc-lib/i386--freebsd4.3/2.8.1/specs gpc version 19990118, based on gcc-2.8.1 Perhaps you know what happened?
You could try to use the linux-emulation to install a later version of gpc. This probably will be big fun :-)
Well, then perhaps rather directly the Linux version of the GPC compiled program. ;-) (But I don't think he'd like this. ;-)
Frank
And - of course I do not dare to give this advice - there also is FreePascal forFreeBSD. It will install without any problems. Uli. ################################################### # # # www.pukruppa.de www.2000d.de # # # ###################################################
Peter Ulrich Kruppa wrote:
I had a close look at my port. In its pkg-descr it says:
GNU Pascal is part of the GNU compiler family, GNU CC or GCC. It combines a Pascal front-end with the proven GNU C back-end for code generation and optimization. Unlike utilities such as p2c, this is a true compiler, not just a converter.
The current release 2.0 implements Standard Pascal (ISO 7185, level 1), a large subset of Extended Pascal (ISO 10206), and Borland Pascal.
WWW: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/
On the other hand # gpc -v delivers:
Reading specs from /usr/local/lib/gcc-lib/i386--freebsd4.3/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
Perhaps you know what happened?
Probably the comment hadn't been updated then (2.0 is much older than 19990118). So, what would a FreeBSD have to do to get this port (I've no idea of it ports system and what to tell the users)?
And - of course I do not dare to give this advice - there also is FreePascal forFreeBSD. It will install without any problems.
But it will not compile my sources. ;-) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
On Fri, 4 May 2001, Frank Heckenbach wrote:
Peter Ulrich Kruppa wrote:
I had a close look at my port. In its pkg-descr it says:
GNU Pascal is part of the GNU compiler family, GNU CC or GCC. It combines a Pascal front-end with the proven GNU C back-end for code generation and optimization. Unlike utilities such as p2c, this is a true compiler, not just a converter.
The current release 2.0 implements Standard Pascal (ISO 7185, level 1), a large subset of Extended Pascal (ISO 10206), and Borland Pascal.
WWW: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/
On the other hand # gpc -v delivers:
Reading specs from /usr/local/lib/gcc-lib/i386--freebsd4.3/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
Perhaps you know what happened?
Probably the comment hadn't been updated then (2.0 is much older than 19990118).
So, what would a FreeBSD have to do to get this port (I've no idea of it ports system and what to tell the users)?
[ Have a look at http://www.freebsd.org/handbook Chapter 4.4 "Using the Ports-Collection"] The "Ports-Collection" is a part of FreeBSD-distribution like "bin" or "XF86" . A port consists of a Makefile, a directory with patches and an installation directory. If you have the Ports-Collection installed, you put in your FreeBSD-CDRom or just connect to the internet and do # cd /usr/ports/lang/gpc # make # make install and the port will fetch all necessary sources, apply the patches, build and install everything :-) The source-files are collected in /usr/ports/distfiles . To deinstall the port, you # cd /usr/ports/lang/gpc # make deinstall If you do not wish to have the complete Collection, you can try to download the port seperately from ftp.freebsd.org/pub/FreeBSD/ports/ports/lang (or a local mirror) and put it into the appropriate directoy yourself. Uli. ################################################### # # # www.pukruppa.de www.2000d.de # # # ###################################################
-----Original Message----- From: owner-gpc@gnu.de [mailto:owner-gpc@gnu.de]On Behalf Of Frank Heckenbach Sent: Wednesday, May 02, 2001 10:53 PM To: gpc@gnu.de Subject: Re: GPC on FreeBSD
Peter Ulrich Kruppa wrote:
On Sun, 29 Apr 2001, Frank Heckenbach wrote:
to install some of my programs, a FreeBSD user requires a current GPC version (preferably newer than 20000717). The latest port is gpc 19990118 .
I had no problems building the newest release on FreeBSD 4.2-RELEASE... just following the build instructions. I'm currently running gpc version 20010227, based on pgcc-2.95.2 19991024 (release). I did have one based on gcc2.95.2, but I figured why not used the Intel optimized compiler? What I did was install the pgcc port, then followed the gpc build instructions using the pgcc source tree in /usr/ports. It seems to work for me. Unfortunately, just yesterday, the drive I was using for /usr/ports died on me... otherwise I'd send you a pre-build copy. :-(
Stephen Hurd wrote:
I had no problems building the newest release on FreeBSD 4.2-RELEASE... just following the build instructions. I'm currently running gpc version 20010227, based on pgcc-2.95.2 19991024 (release).
I did have one based on gcc2.95.2, but I figured why not used the Intel optimized compiler?
What I did was install the pgcc port, then followed the gpc build instructions using the pgcc source tree in /usr/ports.
It seems to work for me.
OK, so I'll tell them to just try that. But before I do, I'd like to know whether the Makefile problem ("No rule to make target `choose-temp.o', needed by `xgpc.exe'") is solved or not. I've seen contradictory statements about that. I.e., does the current GPC build with gcc-2.95* without this problem (on any platform)?
Unfortunately, just yesterday, the drive I was using for /usr/ports died on me... otherwise I'd send you a pre-build copy. :-(
Too bad. :-( If you manage to build it again, please let me know. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
participants (3)
-
Frank Heckenbach -
Peter Ulrich Kruppa -
Stephen Hurd