<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 14 March 2015 at 09:27, 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="">> Do you have some FPC/Lazarus compilation scripts or sample fpc.cfg files<br>
you can share?<br>
<br>
</span>The build script:<br>
build-fpc-cross-all.sh<br>
<<a href="http://free-pascal-general.1045716.n5.nabble.com/file/n5721321/build-fpc-cross-all.sh" target="_blank">http://free-pascal-general.1045716.n5.nabble.com/file/n5721321/build-fpc-cross-all.sh</a>><br>
My fpc.cfg:<br>
fpc.cfg<br>
<<a href="http://free-pascal-general.1045716.n5.nabble.com/file/n5721321/fpc.cfg" target="_blank">http://free-pascal-general.1045716.n5.nabble.com/file/n5721321/fpc.cfg</a>><br>
<br>
Now read carefully. The final directory layout is now:<br>
$outdir<br>
+ <fpc built binaries except the actual compiler><br>
+ $stableversion<br>
++ <standard $fpcdir/lib/fpc/$stableversion layout><br>
+ $svnversion<br>
++ <standard $fpcdir/lib/fpc/$svnversion layout><br>
+ $srcdir<br>
+ lexyacc<br>
+ tmp<br>
<br>
* The script assumes you have proper assembler/linker accessible in PATH and<br>
use above fpc.cfg<br>
* Adjust fpc.cfg above to your environment<br>
* Please start with latest release, since the script doesn't pass<br>
OVERRIDEVERSIONCHECK=1 to make. If you insist, however, just add that flag<br>
to make<br>
* The script passes GDBMI=1 when building host, so you can still have<br>
debugger enabled for fpIDE without libgdb.a exists<br>
* tmp will be temporary destination folder, before the contents are mv-ed<br>
and rsynced with $outdir<br>
* In case of failure, there will be build-fpc-cross-all.log in the current<br>
directory from which you can search for triple asterisks (***) to find what<br>
went wrong<br>
* $stableversion doesn't have to be there, I just do it for single fpc.cfg<br>
requirement<br>
* $srcdir too, but I never move it out of $outdir, though<br>
<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-tp5721047p5721321.html" target="_blank">http://free-pascal-general.1045716.n5.nabble.com/How-do-you-build-FPC-tp5721047p5721321.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Free Pascal - General mailing list archive at Nabble.com.<br>
_______________________________________________<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">Thanks.<br><br></div><div class="gmail_extra">The building process needs as much help as it can get.<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>