develooper Front page | perl.perl5.porters | Postings from April 2011

Re: [perl #78502] ext/XS-APItest/t/call_checker.t fails under Cygwin

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
April 11, 2011 03:58
Subject:
Re: [perl #78502] ext/XS-APItest/t/call_checker.t fails under Cygwin
Message ID:
BANLkTinv4ygM9KqfAdKGOx2K=zZjREkQbQ@mail.gmail.com
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.

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About