[fpc-pascal] Compiling FPC for SPARC

Tomas Hajny XHajT03 at mbox.vol.cz
Sun Aug 6 10:33:53 CEST 2006


On 5 Aug 06, at 21:03, Florian Klaempfl wrote:
> 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.

That still requires at least some compiler for 
SPARC processor available (e.g. sparc-linux) - 
that's why I suggested that having 2.0.4 sparc-
linux would be probably useful (although I 
understand that one can build a cross-compiler, 
but nevertheless).

BTW, is the list above available somewhere in 
Wiki or so?

Tomas



More information about the fpc-pascal mailing list