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 # # # ###################################################