[fpc-pascal] Compiling FPC for SPARC

Florian Klaempfl florian at freepascal.org
Sat Aug 5 21:03:25 CEST 2006


Tomas Hajny wrote:
> Peter Vreman wrote:
>>>> on't bother with Solaris in 2.0.x, it won't work at all. None of
>>>> the Solaris fixes from 2.1.1 have been merged
>>> On a positive note, Sparc/Solaris works fine in 2.1.1
>> I tried to merge it in the past but aborted it. The Solaris RTL
>> changes had a too much conflicts to qualify for a merge to 2.0.x. The
>> sparc compiler codegenerator in 2.0.x and 2.1.1 are almost identical
>> so there is not much of a difference between 2.0.x and 2.1.1 for the
>> sparc. And therefor it is recommended to use 2.1.1.
> 
> Right. On the other hand, the start would be probably easier if there's at
> least 2.0.4 sparc-linux available as starting compiler for further working
> with 2.1.1 (considering the fact that the existing 2.0.0 binary apparently
> fails with IE when building the current sources).

Cross compiling is easy, you need only to rip the following files from
the used solaris:
libaio.so
libc.so
libelf.so
libm.so
libmd5.so
librt.so
libucb.so
and put them in fpc/compiler, after that a cross build should work.



More information about the fpc-pascal mailing list