From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Staal To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Wed, 8 Jul 2015 14:48:03 +0200 Message-ID: <3354026.rh6DAJC8E6@krypton> User-Agent: KMail/4.14.10 (Linux/4.0.7-1-ck; KDE/4.14.10; x86_64; ; ) In-Reply-To: References: <4695103.vLflNmDmS2@krypton> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" Subject: Re: [9fans] Gawk in 9front-ports Topicbox-Message-UUID: 5e7b3550-ead9-11e9-9d60-3106f5b1d025 On Tuesday 07 July 2015 16:45:59 Charles Forsyth wrote: > The loaders support creating a module, with the -u and -x options, with > import and export tables, > which are type-checked, to be dynamically loaded. If the program you're > working with won't compile and load > statically with the -T option (external type checking), it's probably not > worth pursuing. The type checking can spot bugs that other > systems miss, as it did with Python. (A #define was present for one include > of an #ifdef'd structure but not for another, > so functions had different ideas about the layout.) There's an auxiliary > library libdynld that's needed to load a module, > that doesn't seem to be part of the distribution, but I probably have got > the bits. This sounds very interesting. If it is availiable, it would be interesting to spin in to a independent lib that could be re-used for various software that expect/depend on dlopen.