So, can anyone suggest how I should go about linking shared libraries to actual executables? (This is the reason why I haven't really progressed since the original announcement.)
One idea is to get a static linker to insert code and data to be executed before main() to cause the libraries to be loaded, analogous to (or augmenting) the SharedCLib stubs. How difficult would this be? It would need to insert a symbol table and relocation directives into the executable, so that the libraries and the main application could refer to each other by name.
Another is to have some sort of AOF loader (okay, maybe an ELF one later, but I've got AOF ready now). It would probably have to be a module, one that was OS_Module-2 entered. Would it be able to make use of the C env provided by SharedCLib without clashing with its own intentions for application space?
Please login before posting a comment. Use the form on the right to do so or create a free account.
Search the archives
Today's featured article
Click right on with RISC OS Martin Hansen runs through a few useful desktop tricks you may not be aware of 16 comments, latest by Anon on 26/3/09 1:01PM. Published: 22 Mar 2008