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

Re: [MiNT] C++




---- Original Message ----
From: Miro Kropáček <miro.kropacek@gmail.com>
To: "Peter Slegg" <p.slegg@scubadivers.co.uk>
Cc: "MiNT Mailing List" <mint@lists.fishpool.fi>
Sent: Tue, Nov 5, 2013, 12:29 AM
Subject: Re: [MiNT] C++

>> > 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?
>>
>>Is it possible under Mint to compile an application without static
>>linking and/or to compile libs that could be linked dynamically later ?
>>
>>I was wondering if the resulting binaries could be wrapped in some way
>>so that when started the libs are loaded and then the application is run
>>a bit like a self-extracting archive.
>
>
>You know, reading mails like this makes me think that there's no bigger problem than having the option to load dynamic >libraries under FreeMiNT :) I think "everyone" who uses FreeMiNT+XaAES for anything serious these days (like compilation,
>running command line tools in general) has a powerful machine with 64+ MB RAM and... when was the last time you ran out of 
>memory?


I have 144MB and I last ran out about a month ago. Even closing as many apps as possible didn't
help.

However, I am not suggesting SHARED libs just LOADABLE ones.

>From my user point of view it makes little difference but for the developers
it would make a big difference if lib changes could be implemented in everything
without a massive re-compile effort.

Obviously in the long term it would be nice to use proper linked libs but getting
there is difficult. Other systems used interim measures over many years. Why not Mint ?

Peter