--program-suffix option of configure.bat(mswin32)

e$BLZB<$G$9!#e(B

configure.bat
e$B$Ge(Bmakefilee$B$r:n@.$9$k$H$-$K!"%X%k%W$G$O=P$F$-$^$;$s$,e(B

if “%1” == “–program-suffix” goto :suffix

:suffix
echo>> ~tmp~.mak “RUBY_SUFFIX=%2”
echo>>confargs.tmp %1=%2
shift
shift

e$B$N$h$&$Ke(B --program-suffix
e$B%%W%7%g%s$r<u$1IU$1$k$h$&$K$J$C$F$$$^$9!#e(B
e$B%X%k%W$K=P$7$F$J$$$N$O0U?^E
$G!";H$($J$/$F$bJ86g$$$&$J$H$$$&$N$G$"$l$Pe(B
e$BOC$O$3$3$G=*$o$k$N$G$9$,!"e(B

e$B$H$j$"$($:>e5-%*%W%7%g%s$r;H$C$Fe(B suffix
e$B$r;XDj$7$?>e$G%S%k%I$9$k$He(B
ruby$(RUBY_SUFFIX).exee$B$OLdBj$J$/:n@.$5$l$k$N$G$9$,!"B3$1$Fe(Bnmake
install
e$B$7$?$H$-$K%I%-%e%a%s%H:n@.$N$H$3$m$^$GMh$Fe(B

Generating RDoc documentation
.\ruby.exe -I".ext/i386-mswin32_71" “./…/runruby.rb”
–extout=".ext" –
“./…/bin/rdoc” --all --ri --op “.ext/rdoc” “./…”
‘.\ruby.exe’ e$B$O!"FbIt%3%^%s%I$^$?$O30It%3%^%s%I!"e(B
e$BA:n2DG=$J%W%m%0%i%$^$?$O%P%C%Ae(B
e$B%U%!%$%k$H$7$FG’<1$5$l$F$$$^$;$s!#e(B
NMAKE : fatal error U1077: ‘.\ruby.exe’ : e$B%j%?!<%se(B e$B%3!<%Ie(B
‘0x1’
Stop.

e$B$H;_$^$C$F$7$^$$$^$9!#e(B

e$B$3$l$O!":n@.$5$l$?<B9T%U%!%$%k$,e(B ruby$(RUBY_SUFFIX).exe
e$B$H$$$&%Q%?!<%s$Ne(B
e$B$b$N$J$N$K!"$3$3$G$Oe(B
$(RUBY_SUFFIX)e$B$r9MN8$7$J$$L>A0$G5/F0$7$h$&$H$7$F$$$ke(B
e$B$?$a$K%U%!%$%k$,8+$D$+$i$J$$$N$G%(%i!<$K$J$C$F$$$^$9!#e(B

e$B>e5-$N%1!<%9$G;H$o$l$k%3%^%s%I%i%$%s$N%Q%?!<%s$r@8@.$9$k$H$3$m$Ge(B

— Makefile.sub.1~ 2008-02-24 23:29:51.000000000 +0900
+++ Makefile.sub 2008-03-06 10:47:52.061500000 +0900
@@ -208,7 +208,7 @@
RUNRUBY = $(MINIRUBY)
!else
MINIRUBY = .\miniruby$(EXEEXT) -I$(srcdir)/lib
-RUNRUBY = .\ruby$(EXEEXT) -I"$(EXTOUT)/$(arch)"
+RUNRUBY = .\ruby$(RUBY_SUFFIX)$(EXEEXT) -I"$(EXTOUT)/$(arch)"
!endif
MINIRUBY = $(MINIRUBY) $(MINIRUBYOPT)
RUNRUBY = $(RUNRUBY) “$(srcdir)/runruby.rb” --extout="$(EXTOUT)" –

e$B$N$h$&$K=$@5$r2C$($F$d$l$Pe(B --program-suffix
e$B$r;XDj$7$?$H$-$bL5;v$Ke(B
e$B%S%k%I$G$-$k$h$&$K$J$k$N$G$9$,$I$s$J$b$s$G$7$g$&$+e(B?
#e$B>e5-$NJQ99$r2C$($?>e$Ge(B --program-suffix
e$BL5;XDj$N$H$-$NF0:n$be(B
#e$B3NG’$7$F$$$^$9!#e(B

e$BM>M5$,$"$j$^$7$?$i$48!F$$/$@$5$$$^$;!#e(B

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:34000] --program-suffix option of
configure.bat(mswin32)”
on Mar.06,2008 14:59:03, [email protected] wrote:
| e$B$N$h$&$Ke(B --program-suffix e$B%%W%7%g%s$r<u$1IU$1$k$h$&$K$J$C$F$$$^$9!#e(B
| e$B%X%k%W$K=P$7$F$J$$$N$O0U?^E
$G!“;H$($J$/$F$bJ86g$$$&$J$H$$$&$N$G$”$l$Pe(B
| e$BOC$O$3$3$G=*$o$k$N$G$9$,!"e(B

e$B$H$j$"$($:L$J]>Z%*%W%7%g%s$H$$$&$3$H$G!#e(B
e$BC1$KCfED$5$s$N=q$-K:$l$N$h$&$J5$$b$7$J$/$b$J$$$G$9$,!#e(B

e$B$G!"$=$l$O$=$l$H$7$F!"e(B

| e$B$N$h$&$K=$@5$r2C$($F$d$l$Pe(B --program-suffix e$B$r;XDj$7$?$H$-$bL5;v$Ke(B
| e$B%S%k%I$G$-$k$h$&$K$J$k$N$G$9$,$I$s$J$b$s$G$7$g$&$+e(B?
| #e$B>e5-$NJQ99$r2C$($?>e$Ge(B --program-suffix e$BL5;XDj$N$H$-$NF0:n$be(B
| #e$B3NG’$7$F$$$^$9!#e(B
|
| e$BM>M5$,$"$j$^$7$?$i$48!F$$/$@$5$$$^$;!#e(B

e$B$A$g$C$HJQ99$7$^$7$?$,!"e(B1.8e$B!“e(B1.9e$B$H$b<h$j9~$_$^$7$?!#e(B
e$B$”$j$,$H$&$4$6$$$^$9!#e(B

e$B$=$l$G$O!#e(B