[fpc-pascal] How do you build FPC?
vfclists at gmail.com
Fri Mar 13 10:07:25 CET 2015
On 20 February 2015 at 15:40, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
> > FPC seems incredibly flexible and I'd like to take advantage
> of it on some other platforms but so far it looks like that is reserved
> for a wizard elite somewhere and nobody is saying how to get there.
> Other than the buildfaq, reading the Makefile.fpc might help (assuming you
> already know make) since all Makefiles are generated by fpcmake. The
> is currently run hybrid with fpmake in many places (but as far as I can
> not all make has been replaced). Reading and understanding fpmake might
> you, too.
> I myself customize my FPC directory layout, such that I can easily update
> FPC from svn and cross build to 8 different targets (excluding host) with a
> single script execution, using only single fpc.cfg for all of them.
> The build process is no magic and easily understandable. Section 7 of the
> cross compiling wiki explains the prerequisites well, and in general, make
> all CPU_TARGET=<target cpu> OS_TARGET=<target os> suffices (optionally
> install if you want), except perhaps for arm targets where there are
> multiple implementations of FPU mode which you have to choose at make time.
> View this message in context:
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
Do you have some FPC/Lazarus compilation scripts or sample fpc.cfg files
you can share?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal