develooper Front page | perl.perl5.porters | Postings from June 2013

Re: dmake can't find config.h, and collector throws error when trying to compile perl-static.exe (perl-5.18.0 / mingw / 32b)

Thread Previous
From:
sisyphus1
Date:
June 3, 2013 09:22
Subject:
Re: dmake can't find config.h, and collector throws error when trying to compile perl-static.exe (perl-5.18.0 / mingw / 32b)
Message ID:
9D69735B0E204EB3BF6D87D26491704D@OwnerPC311012


-----Original Message----- 
From: Steve Hay

[...]

>>> That must surely be part of the problem ? I wonder why those file
>>> formats would be unrecognized.
>>>
>>> (Btw, this was with a 32-bit build using a mingw.org port of gcc-4.7.0.)
>> It seems that creates an archive of archives, instead of an archive of
>> object files.
>> Leon

>Yes, reading the docs for GNU ar I see that it does indeed, and it looks
>like there is no other way to do this than to extract the object files from
>each extension's archive and then archive all the extracted object files
>into the perl static library.

UIM, those object files still exist (in either the cpan or ext 
directories) - eg ext/B/B.o and cpan/Compress-Raw-Bzip2/Bzip2.o.
But I don't know if that enables a simpler solution than the one you've 
signalled.

Cheers,
Rob 


Thread Previous


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