[fpc-devel] fpmkunit

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 13 11:09:32 CET 2007


On Tue, 13 Nov 2007 09:21:36 +0100 (CET)
"Peter Vreman" <peter at freepascal.org> wrote:

>[...]
> >> fpc -n -FUunits\i386-win32\ -Fu..\..\src\ -Fuunits\i386-win32\*
> >> myexample.pp
> >>
> >> 1. What strikes me is that the command line has the option -n in
> >> it. It appears that this command line option is hard coded in
> >> TBuildEngine.GetCompilerCommand. I strongly believe it should
> >> become a property named DefaultConfigFile which is by default set
> >> to True ie no '-n'.
> 
> This is by design to prevent dependening on local configuration when
> building and installing packages. It forces the user to add all
> options and dependencies to fpmake.pp

Can fpmake be used for programs/libraries too?
They need the linker options of fpc.cfg.


Mattias



More information about the fpc-devel mailing list