[fpc-pascal] help me to install freepascal to Yellow Dog Linux on PowerMacintosh G5
Jonas Maebe
jonas at zeus.ugent.be
Sun May 29 14:36:25 CEST 2005
On 25 May 2005, at 05:57, Nurmukhamed Artykaly wrote:
> im trying to install fpc into my home directory.
>
> i fetch fpc source via cvs.
You have to install a binary version of the compiler to start the
compilation, because the compiler itself is also written in Pascal
and not in C. However, the 32 bit Linux/ppc binary does not work
under 64 bit powerpc currently, because it uses the dcbz instruction.
That instruction fills a cache line with all zero bytes. On earlier
PPC's, every cache line was 32 bytes. On the PPC970, it's 128 bytes.
The PPC970 does have a compatibility bit which can be turned on so
that dcbz still only clears 32 bytes, but that bit is not turned on
under Linux (at least not under Gentoo). It is turned on on Mac OS X,
which is why I only noticed it after 2.0 was released.
So to start, you will have to cross compile from another operating
system such as Windows, Mac OS X or a 32 bit Linux/ppc machine (where
you have to remove all occurrences of dcbz from the rtl sources).
Jonas
More information about the fpc-pascal
mailing list