[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] SV: Some comments on gcc 4.3.2

Le Sun, 12 Oct 2008 21:35:46 +0200 (MEST)
Jo Even Skarstein <joska@online.no> a _crit:

> > From: Patrice Mandin [mandin.patrice@orange.fr]
> > Sent: 2008-10-12 17:42:47 CEST
> > To: mint [mint@fishpool.com]
> > Subject: Re: [MiNT] Some comments on gcc 4.3.2
> >  
> > Yep, I know, ldg is just a hack, but it's better than nothing :-[.
> What's the advantage of using LDG instead of SLB?

Simply I don't know how a SLB is supposed to be created :).

And one thing missing in SLB, is a getFunctionPointerByName() to
retrieve the pointer to the function given its name, in the shared
library. In SLB, you must know the function number to call the right

I think it should be possible to create a SLB generator, and create a
loader as a libxxx.a like I did for SDL.ldg.

Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux