On Thu, 16 Aug 2012, Jonas Maebe wrote:
Michael Van Canneyt wrote on Thu, 16 Aug 2012:
When using a trunk compiler (that was a given from OP) the only way to
update is the following:
# update rtl & compiler to latest trunk.
svn update rtl compiler
# run cycle using latest release.
make cycle PP=latest-release # now you have latest rtl & compiler ready to
install.
make install
That's incorrect, you never need an explicit "make cycle". Simply do the
following in the top level FPC directory:
make distclean
svn up
make FPC=latest-release all -j ncpus FPMAKEOPT="-T ncpus"
make install
The top-level "make all" already includes a "make cycle" and will also
compile packages and utils
Voila, that's even easier...
my own script has several options to disable/enable certain steps,
which is why I explicitly separate out the various stages.
The point I was trying to get across, however, is that the above is the
only correct way of getting FPC up-to-date for a trunk compiler:
you need to cycle (explictly, or implicit using make all)
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel