[fpc-devel] (Re)compiling FPC or is there something like fpc.bpg?

Marco van de Voort marcov at stack.nl
Fri Jul 23 15:41:08 CEST 2010


In our previous episode, Joost van der Sluis said:
> > [Please bear with me while I am trying to formulate this question; it 
> > is a tough one to do succinctly]
> > 
> > If I am not mistaken, a version X of FPC is guaranteed to be compilable 
> > with version (X - 1).
> > 
> > If that is so, I am assuming, one would not have to 'make' version X; 
> > meaning you could compile version X with the binaries form (X -1) if you 
> > had something like fpc.bpg (i.e. project group).
> > 
> > The reason I am aiming for fpc.bpg is to avoid the problem of 'no spaces 
> > in file paths' problem.
> > 
> > Even though 'fpc.bpg' does not exist, it seems all the information 
> > necessary to genereate one is there in the numerous 'fpmake.pp' units in 
> > the 'source' directory.
> 
> I think that fpmake.pp is exactly what you want. Only it doesn't work
> fully yet.
> 
> If fpmake works, we don't need make anymore.

It is not, since it requires an installed RTL + fpmkunit to create the first
fpmake. This is the bit handled by the still to be created bootstrap
scripts.



More information about the fpc-devel mailing list