[fpc-pascal] FPCUp FPC/Lazarus installer/updater: first Linux/Windows version released

Ludo Brands ludo.brands at free.fr
Fri Feb 10 17:27:13 CET 2012


> Hi all,
> 
....
> - suggestions welcome
> 

Very nice!

Suggestions: :) 
- replace 'Debug:' with 'Progress:' or 'Info:'. The messages are useful :)
- show some progress when checking out sources. The wait can be very long.
- option to not install/update fpc or lazarus (fe. setting the corresponding
dir or url to '')
- in side by side, it is still juggling with command line parameters. Would
be nice if fpcup would leave the settings in a .conf or .ini in the install
dirs and when running fpcup from that dir it would pick up these settings
and re-use them. Running fpcup in that dir with new parameters would update
the settings. Similar to svn: you only specify the svn url once and do just
an 'update' from then on. 
- (I hesitated to put this in the category "bugs") lazarus is configured to
use (default on ubuntu) ~/fpc/bin/fpc. I have 2.4.4 installed with a
/etc/fpc.cfg and ~/fpc/bin/fpc will just launch 2.4.4. Changing the compiler
to ~/fpc/compiler/ppc386 and copying fpc.cfg to ~/fpc/compiler/ still fails
because the compiler still picks up /etc/fpc.cfg. AFAIK the fpc.cfg in the
compiler dir will only be picked up when there is no .fpc.cfg in the home
directory nor a fpc.cfg in the current directory nor one in the path
specified by PPC_CONFIG_PATH nor a /etc/fpc.cfg. Detecting a conflicting
fpc.cfg and warning the user would be nice. Solving the problem would be
more difficult. If "side by side" would be limited to different version
numbers/architectures (as opposed to different revisions of the same
version/architecture) then a 'pkexec make install INSTALL_PREFIX="whatever
found in /etc/fpc.cfg" ' would be a solution.

Ludo




More information about the fpc-pascal mailing list