[fpc-pascal] How do you build FPC?

vfclists . 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
> process
> is currently run hybrid with fpmake in many places (but as far as I can
> see,
> not all make has been replaced). Reading and understanding fpmake might
> help
> you, too.
>
> I myself customize my FPC directory layout, such that I can easily update
> my
> 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:
> http://free-pascal-general.1045716.n5.nabble.com/How-do-you-build-FPC-tp5721047p5721051.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>


Do you have some FPC/Lazarus compilation scripts or sample fpc.cfg files
you can share?

-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150313/3cfd861b/attachment.html>


More information about the fpc-pascal mailing list