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

Linking with DynaLoader and ExtUtils::Embed::ldopts since 5.10

Thread Next
Reini Urban
April 26, 2008 14:22
Linking with DynaLoader and ExtUtils::Embed::ldopts since 5.10
Message ID:
How do you folks link against DynaLoader since 5.10?

The DynaLoader makefile was changed not to emit a
anymore, instead just copy to a DynaLoader$(OBJ_EXT), which is linked
against perl,
but not installed to <archlib>/CORE and not to
lib/auto/DynaLoader/DynaLoader$(OBJ_EXT) neither.

So ExtUtils::Embed::ldopts cannot find DynaLoader.a anymore (and does
not look for the .o file neither)
and so all attempts to link standalone files do fail.

There's also no testcase for ExtUtils::Embed::ldopts usage,
I just got the failures in B::C. Other embedders will fail also.

If I overlooked something (with my cygwin specialities) I stand
corrected, otherwise I'll happily provide a patch to fix
the wrong static section in ext/DynaLoader/Makefile.PL to generate the
archive again.
Reini Urban

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About