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

Re: Bug in perl, yet another one

Thread Previous | Thread Next
From:
bulk 88
Date:
April 9, 2018 20:06
Subject:
Re: Bug in perl, yet another one
Message ID:
BN6PR04MB096332676749D5CDEF97700DDFBF0@BN6PR04MB0963.namprd04.prod.outlook.com
Konovalov, Vadim wrote:
> What originally designed purpose of this libperl527s.a BTW, who knows?
> 
> -----Original Message-----
> From: Konovalov, Vadim [mailto:Vadim.Konovalov@dell.com] 
> Sent: Sunday, March 11, 2018 11:43 AM
> To: perl5-porters@perl.org
> Subject: Bug in perl, yet another one
> 
> Some design bug of perl for win32 for GCC build;
> 
> These lines in win32/GNUmakefile :
> $(PERLSTATICLIB): $(PERLDLL_OBJ) Extensions_static
> ifeq ($(CCTYPE),GCC)
> 	$(LIB32) $(LIB_FLAGS) $@ $(PERLDLL_OBJ)
> 	if exist $(STATICDIR) rmdir /s /q $(STATICDIR)
> 	for %%i in ($(shell type Extensions_static)) do \
> 		@mkdir $(STATICDIR) && cd $(STATICDIR) && \
> 		$(ARCHPREFIX)ar x ..\%%i && \
> 		$(ARCHPREFIX)ar q ..\$@ *$(o) && \
> 		cd .. && rmdir /s /q $(STATICDIR)
> else
> 	$(LIB32) $(LIB_FLAGS) -out:$@ @Extensions_static \
> 	    $(PERLDLL_OBJ)
> endif
> 	$(XCOPY) $(PERLSTATICLIB) $(COREDIR)
> 
........................
> 
> IOW resulting libperl527s.a it is, well, correctly hold .o for core perl, but adding extension's .a there is not good;
> 
> Vadim

You designed it.

https://perl5.git.perl.org/perl.git/commitdiff/4e036e4bbba6d063b01c50038bdc634716ef4439
https://www.nntp.perl.org/group/perl.perl5.porters/2006/11/msg118012.html

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