[fpc-pascal] How do you build FPC?
vfclists at gmail.com
Sat Mar 14 11:33:54 CET 2015
On 14 March 2015 at 09:27, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
> > Do you have some FPC/Lazarus compilation scripts or sample fpc.cfg files
> you can share?
> The build script:
> My fpc.cfg:
> Now read carefully. The final directory layout is now:
> + <fpc built binaries except the actual compiler>
> + $stableversion
> ++ <standard $fpcdir/lib/fpc/$stableversion layout>
> + $svnversion
> ++ <standard $fpcdir/lib/fpc/$svnversion layout>
> + $srcdir
> + lexyacc
> + tmp
> * The script assumes you have proper assembler/linker accessible in PATH
> use above fpc.cfg
> * Adjust fpc.cfg above to your environment
> * Please start with latest release, since the script doesn't pass
> OVERRIDEVERSIONCHECK=1 to make. If you insist, however, just add that flag
> to make
> * The script passes GDBMI=1 when building host, so you can still have
> debugger enabled for fpIDE without libgdb.a exists
> * tmp will be temporary destination folder, before the contents are mv-ed
> and rsynced with $outdir
> * In case of failure, there will be build-fpc-cross-all.log in the current
> directory from which you can search for triple asterisks (***) to find what
> went wrong
> * $stableversion doesn't have to be there, I just do it for single fpc.cfg
> * $srcdir too, but I never move it out of $outdir, though
> 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
The building process needs as much help as it can get.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal