Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Ewald
On Sun, 16 Feb 2014 19:14:33 +0100, Mattias Gaertner wrote: > > Yes, for example make install INSTALL_PREFIX=~/2.6.2 installs to > ~/2.6.2/lib/fpc/2.6.2 > Which looks odd. > > Maybe fpc should search for /fpc.cfg. > > Then maybe the current search for /../etc/fpc.cfg can be > removed. Only a few

[fpc-devel] Snapshot x86_64-linux is not valid

2014-02-16 Thread Dariusz Mazur
Hi snapshot fpc-2.7.1.x86_64-linux.tar.gz is not valid, build is from 4/1/2014 but packages 28/12/2013 and compiler complains Darek ___ fpc-devel mailli

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Marco van de Voort
In our previous episode, Florian Kl?mpfl said: > > I don't think it was ever meant for distribution conforming installs, since > > they don't carter for multiversion systems. > > You can also have easily different gcc versions at least on linux. Yes. But then this whole discussion is useless, sin

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Florian Klämpfl
Am 16.02.2014 19:46, schrieb Marco van de Voort: > In our previous episode, Mattias Gaertner said: >>> I played with this in 1.9.2 times iirc. >>> >>> IIRC the principle was developed for cases where every version installed >>> into a prefix with make INSTALL INSTALL_PREFIX=~/somethingversion. (s

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Marco van de Voort
In our previous episode, Mattias Gaertner said: > > I played with this in 1.9.2 times iirc. > > > > IIRC the principle was developed for cases where every version installed > > into a prefix with make INSTALL INSTALL_PREFIX=~/somethingversion. (so that > > you also had multiple bin directories a

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Den
Why not fpc-$FPCVERSION.cfg? And keep them all in /etc/ ? fpc-2.6.2.cfg, and fpc-2.7.1.cfg, etc. This way fpc will use it's version and search for the right one in a standard directory? - Dennis Fehr On 14-02-16 12:14 PM, Mattias Gaertner wrote: On Sun, 16 Feb 2014 15:28:59 +0100 (CET) mar...

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Mattias Gaertner
On Sun, 16 Feb 2014 13:29:42 +0100 "Tomas Hajny" wrote: >[...] > If having different file per version is really necessary (rather than only > having differences among versions covered by #IFDEF within a single file), > combining an #IFDEF with an #INCLUDE inside the fpc.cfg may be an option. > Re

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Mattias Gaertner
On Sun, 16 Feb 2014 15:28:59 +0100 (CET) mar...@stack.nl (Marco van de Voort) wrote: >[...] > I played with this in 1.9.2 times iirc. > > IIRC the principle was developed for cases where every version installed > into a prefix with make INSTALL INSTALL_PREFIX=~/somethingversion. (so that > you

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Mattias Gaertner
On Sun, 16 Feb 2014 12:00:59 + Mark Morgan Lloyd wrote: >[...] > I've got a very vague recollection from elsewhere that you can do this > sort of thing using a unix-domain (named) pipe. In other words it would > probably be something like a "config-file server" daemon listening for > attem

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread patspiper
On 16/02/14 16:28, Marco van de Voort wrote: In our previous episode, Mattias Gaertner said: The second is actually /../etc/fpc.cfg So, fpc first searches a user config, then a "flavor" config (e.g. one per version) and the last is the global config. When installing multiple version of fpc you

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Marco van de Voort
In our previous episode, Mattias Gaertner said: > The second is actually > /../etc/fpc.cfg > > So, fpc first searches a user config, then a "flavor" config (e.g. one > per version) and the last is the global config. > > When installing multiple version of fpc you normally get > /usr/(local/)lib/f

[fpc-devel] Type helpers now require an explicit modeswitch

2014-02-16 Thread Sven Barth
Hello together! A little follow up of the feature announcement: After an internal discussion regarding language clarity last October it was decided that type helpers should not be enabled by default. Thus a new modeswitch "typehelpers" was added in revision 26796 that switches on "type helper

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Tomas Hajny
On Sun, February 16, 2014 13:00, Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: >> Hi, >> >> Is there a recommended or usual way to install multiple FPC versions >> and one fpc.cfg per version under Linux/Unix? >> >> fpc 2.6.2 and 2.7.1 search fpc.cfg under Linux: >> >> Configfile search: /home

Re: [fpc-devel] One fpc.cfg per fpc version

2014-02-16 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: Hi, Is there a recommended or usual way to install multiple FPC versions and one fpc.cfg per version under Linux/Unix? fpc 2.6.2 and 2.7.1 search fpc.cfg under Linux: Configfile search: /home/mattias/.fpc.cfg Configfile search: /usr/lib/fpc/etc/fpc.cfg Configfile search