[fpc-devel] Porting fpc to linux-sparc64

Marco van de Voort marcov at stack.nl
Tue May 30 14:01:16 CEST 2017

In our previous episode, Karoly Balogh (Charlie/SGR) said:
> > In our previous episode, Karoly Balogh (Charlie/SGR) said:
> > > Err, those are invoked directly from the Makefile, not invoked from inside
> > > FPC. But you're right, that will be also a problem... Some platforms still
> > > use asm-written startup stubs in FPC. Not all of them tho'. I think these
> > > days these startup codes could be written in Pascal anyway, but for Sparc
> > > they're not.
> >
> > (neither are they for *BSD since those use weak symbols)
> Is it still required? Darwin does all kinds of weak linking too, and it
> has a Pascal written startup code if I'm correct.

I don't know much about how linking on Darwin works, but afaik it has a
different object format ?

I tried a long time ago (2010ish), and then got stuck. Afaik the remains are
still in the i386/ directory.

More information about the fpc-devel mailing list