Re: [Alephmodular-devel] Question about modules
Status: Pre-Alpha
Brought to you by:
brefin
From: Alexander S. <fe...@it...> - 2003-01-03 19:40:59
|
On Friday, January 3, 2003, at 02:27 PM, Michael Adams wrote: > You may be interested to look at libtool. It is a > cross platform wrapper around dynamically loaded > stuff. > > http://sources.redhat.com/autobook/autobook/autobook_toc.html > > (That link is also a good book for anyone wanting to > learn automake and autoconf.) > > However, dynamic stuff is always a pain to write > correctly, and I'm not to sure of libtool's support > for Classic, OSX or Win32. Some dynamic stuff could > be turned into scripts in some scripting language and > that would avoid the incompatabilities of shared > libraries, but also has it's own problems. > > Just a few thoughts, > Michael D. Adams > mdm...@ya... Yes, autoconf/automake already wrap around libtool. And libltdl uses dlopen(), so we'd still end up doing it :) libtool can link shared libraries on OS X, but can't use the OSX module-loading API. So you still need dlcompat. Scripting is much more useful than modules if you make a scenario, because you don't need to compile anything. -- Alexander Strange "Is God willing to prevent evil, but not able? Then he is not omnipotent. Is he able, but not willing? Then he is malevolent. Is he both able and willing? Then whence cometh evil? Is he neither able nor willing? When why call him god?" -- anonymous, Boethius' Consolation of Philosophy |