[fpc-pascal] How do you build FPC?
leledumbo
leledumbo_cool at yahoo.co.id
Fri Feb 20 16:40:58 CET 2015
> 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.
More information about the fpc-pascal
mailing list