Skip to content

Commit

Permalink
Remove dependency on tr(1) for MinGW builds on Win32
Browse files Browse the repository at this point in the history
This leaves things slightly (more) broken for MinGW builds on Cygwin,
but that doesn't currently quite work in other respects and isn't
documented anyway.  See:

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-03/msg00751.html

p4raw-id: //depot/perl@24131
  • Loading branch information
Steve Hay authored and Steve Hay committed Apr 1, 2005
1 parent 407700f commit 31e0fb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions pod/perl592delta.pod
Expand Up @@ -308,10 +308,6 @@ upgrades.
F<t/io/dup.t>, F<t/io/open.t> and F<lib/ExtUtils/t/Constant.t> fail some F<t/io/dup.t>, F<t/io/open.t> and F<lib/ExtUtils/t/Constant.t> fail some
tests on some BSD flavours. tests on some BSD flavours.


perl fails to compile on Win32 with MinGW, if you don't have the Cygwin
tools installed, because the makefile currently relies on the presence of
tr(1).

=head1 Plans for the next release =head1 Plans for the next release


The current plan for perl 5.9.3 is to add CPANPLUS as a core module. The current plan for perl 5.9.3 is to add CPANPLUS as a core module.
Expand Down
4 changes: 2 additions & 2 deletions win32/makefile.mk
Expand Up @@ -1082,7 +1082,7 @@ $(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
.ELIF "$(CCTYPE)" == "GCC" .ELIF "$(CCTYPE)" == "GCC"
$(LINK32) -mdll -o $@ -Wl,--base-file -Wl,perl.base $(BLINK_FLAGS) \ $(LINK32) -mdll -o $@ -Wl,--base-file -Wl,perl.base $(BLINK_FLAGS) \
$(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \ $(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \
$(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs|tr \\\\ /) \ $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs) \
$(LIBFILES) $(LKPOST)) $(LIBFILES) $(LKPOST))
dlltool --output-lib $(PERLIMPLIB) \ dlltool --output-lib $(PERLIMPLIB) \
--dllname $(PERLDLL:b).dll \ --dllname $(PERLDLL:b).dll \
Expand All @@ -1091,7 +1091,7 @@ $(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
--output-exp perl.exp --output-exp perl.exp
$(LINK32) -mdll -o $@ $(BLINK_FLAGS) \ $(LINK32) -mdll -o $@ $(BLINK_FLAGS) \
$(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \ $(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \
$(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs|tr \\\\ /) \ $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs) \
$(LIBFILES) perl.exp $(LKPOST)) $(LIBFILES) perl.exp $(LKPOST))
.ELSE .ELSE
$(LINK32) -dll -def:perldll.def -out:$@ \ $(LINK32) -dll -def:perldll.def -out:$@ \
Expand Down

0 comments on commit 31e0fb3

Please sign in to comment.