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

Re: [MiNT] C++



Am Samstag, den 19.10.2013, 10:00 +0000 schrieb Peter Slegg: 
> On Fri, 18 Oct 2013 18:09:22 , Vincent Rivière <vincent.riviere@freesbee.fr> wrote:
> > On 18/10/2013 02:28, Ole wrote:
> > > Enigma (it is C++ and based on libxerces, which is also C++).
> > > (The resulting executable was 60 MB in size =) )
> >
> > Executables seem to be smaller on Linux, because they use shared libraries.
> >
> 
> Is there any way we could work towards shared libraries with some
> sort of "stop-gap solution" ?  Maybe start small by making one item
> like mintlib loadable.
> 
> I don't now if this is workable, I'm just chucking an idea out.

How about providing the most used libraries with a trap #x interface?
This way applications only link comparatively small code like they
already do for BIOS/XBIOS and GEMDOS calls while the bulk of the actual
lib code runs in one big lump that is loaded only once into memory?

Matthias
-- 
Matthias Arndt <marndt@asmsoftware.de>
PGP-Key: http://www.final-memory.org/files/marndt.asc
Jabber: simonsunnyboy@atari-jabber.org