<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2015 at 15:40, leledumbo <span dir="ltr"><<a href="mailto:leledumbo_cool@yahoo.co.id" target="_blank">leledumbo_cool@yahoo.co.id</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> FPC seems incredibly flexible and I'd like to take advantage<br>
of it on some other platforms but so far it looks like that is reserved<br>
for a wizard elite somewhere and nobody is saying how to get there.<br>
<br>
</span>Other than the buildfaq, reading the Makefile.fpc might help (assuming you<br>
already know make) since all Makefiles are generated by fpcmake. The process<br>
is currently run hybrid with fpmake in many places (but as far as I can see,<br>
not all make has been replaced). Reading and understanding fpmake might help<br>
you, too.<br>
<br>
I myself customize my FPC directory layout, such that I can easily update my<br>
FPC from svn and cross build to 8 different targets (excluding host) with a<br>
single script execution, using only single fpc.cfg for all of them.<br>
<br>
The build process is no magic and easily understandable. Section 7 of the<br>
cross compiling wiki explains the prerequisites well, and in general, make<br>
all CPU_TARGET=<target cpu> OS_TARGET=<target os> suffices (optionally<br>
install if you want), except perhaps for arm targets where there are<br>
multiple implementations of FPU mode which you have to choose at make time.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://free-pascal-general.1045716.n5.nabble.com/How-do-you-build-FPC-tp5721047p5721051.html" target="_blank">http://free-pascal-general.1045716.n5.nabble.com/How-do-you-build-FPC-tp5721047p5721051.html</a><br>
Sent from the Free Pascal - General mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br><br clear="all"></div><div class="gmail_extra">Do you have some FPC/Lazarus compilation scripts or sample fpc.cfg files you can share?<br><br></div><div class="gmail_extra">-- <br><div class="gmail_signature">Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a></div>
</div></div>