From mint-bounce@lists.fishpool.fi  Mon Oct 13 13:39:03 2008
X-ME-UUID: 20081013160508232.38A387000084@mwinf2b07.orange.fr
Date: Mon, 13 Oct 2008 18:04:50 +0200
From: Patrice Mandin <mandin.patrice@orange.fr>
To: Jo Even Skarstein <joska@online.no>
Cc: mint <mint@fishpool.com>
Subject: Re: [MiNT] SV: Some comments on gcc 4.3.2
Message-Id: <20081013180450.06b84f0f.mandin.patrice@orange.fr>
In-Reply-To: <24709273.2103601223840146355.JavaMail.adm-moff@moffice8.nsc.no>
References: <c6533ef60810041138n7dcd5968t474a68586f4582f2@mail.gmail.com>
	<20081010123824.03e0a925.mandin.patrice@orange.fr>
	<c6533ef60810100400n4c1159a0va5298ea23cd25a2e@mail.gmail.com>
	<20081012174247.649c4ed3.mandin.patrice@orange.fr>
	<24709273.2103601223840146355.JavaMail.adm-moff@moffice8.nsc.no>
Organization: Chez moi
X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: mandin.patrice@orange.fr
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id m9DHd255025912

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
function.

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


