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.htmlThread Previous | Thread Next