[fpc-pascal] FreeBSD and fpc messages.
mailinglists at geldenhuys.co.uk
Sun Aug 16 23:41:41 CEST 2015
On 2015-08-16 20:16, Fred van Stappen wrote:
> Aaargh, I have to take a rest...
Why don't you start again. Remove all copies of FPC, no matter the
versions. Remove all copies of the fpc.cfg too. Look in /usr/local/etc
Then download the official FPC release install:
Untar the file to a temp directory and run the install script. Install
to your own home directory location - that way you don't need root
privileges. For example:
Using version numbers in the install location also means that you can
install other versions of FPC concurrently. You can then tweak the
~/.fpc.cfg to use $fpcversion macros instead of hard-coded version
numbers. That way all FPC install share the same ~/.fpc.cfg file.
If you need the FPC source code, download that from SF.net too, and
unpack that in /home/freds/devel/fpc-2.6.4/src/
I then amend my PATH environment variable to include the stable FPC
"bin" directory, so I can use FPC from anywhere in my system, simply by
typing 'fpc <myprogram.pas>'. Other FPC versions can be used by
specifying the full path to the fpc binary.
I've used this setup for years - first with Linux, then the last 3 years
with FreeBSD. This has always worked without fail. I NEVER use any
package management version of FPC, and neither to I use FreeBSD ports to
install FPC. The official FPC release installer is all you need.
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
More information about the fpc-pascal