On Mon, Apr 11, 2011 at 12:02 PM, Zefram <zefram@fysh.org> wrote: > For the use of modules (such as D-CC) that export C functions, it would > be useful to have this logic available more openly. PERL_CALLCONV has > the right specifiers for core functions, but the right specifiers for > a module's functions may be different (they're different when building > the module itself). There is already another option to do this: the FUNCLIST option in ExtUtils::MakeMaker. Module::Build currently doesn't support this but it could be added easily (ExtUtils::CBuilder already supports it, M::B just isn't using it). Your option has the distinct advantage of working with C++ too though. Another option that should have been easy would be to make the compiler export all symbols much like on Unix, but I've never gotten that to work properly. LeonThread Previous | Thread Next