[fpc-pascal] FreeBSD/x86_64 snapshots
Marco van de Voort
marcov at stack.nl
Thu Sep 18 16:09:42 CEST 2008
In our previous episode, Francisco Reyes said:
> Marco van de Voort writes:
>
> > a 26MB snapshot is available at (all binaries, just needs a fpc.cfg)
>
> How do we test it?
> I untared the file.
> Went into snapshot/bin and tried "fpx hello.pas"..
> Error: ppcx64 can't be executed, error message: Failed to execute "ppcx64",
> error code: 127
>
> I see it in snapshot/lib/fpc/2.3.1
>
> Is it a matter of adding to path or installing and modifying a cfg?
> The cfg should it go in /etc/ or in the same directory as the fpc program?
Well, this is the stuff the buildfaq reading was for :-)
Everything below snapshot is to go into some prefix. IOW you can copy it
into /usr/local or maintain it local.
I usually choose local (e.g. ~/snapshot) and to reserve the real prefixes
for releases.
For local installations I then either symlink snapshot/bin to ~/bin (if I
don't have a ~/bin), or make symlinks from ~/bin/<x> to ~/snapshot/bin/<x>
I store a minimal configuration file in ~/.fpc.cfg :
-Fu~/snapshot/lib/fpc/$FPCVERSION/units/$FPCTARGET/*
-viwh
Note again, I recommend trying to install local the first times till you get
the hang of it, so that you don't accidentally mutilate global dirs.
More information about the fpc-pascal
mailing list