summaryrefslogtreecommitdiff
path: root/bcc32
diff options
context:
space:
mode:
authorH_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-22 10:54:11 +0000
committerH_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-22 10:54:11 +0000
commit57a6839081506c29a4c1b3eb0c512d4fa5c9562f (patch)
tree23cc7485f07a3d48cf554b5b99c49ab999a5877b /bcc32
parent6073c68242fd21c37396523ad699068d230c68ac (diff)
*bcc32/configure.bat : The command line when calling setup.mak is corrected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
-rw-r--r--bcc32/README.bcc328
-rw-r--r--bcc32/configure.bat8
2 files changed, 9 insertions, 7 deletions
diff --git a/bcc32/README.bcc32 b/bcc32/README.bcc32
index fe55046..a699d34 100644
--- a/bcc32/README.bcc32
+++ b/bcc32/README.bcc32
@@ -83,18 +83,20 @@ in Japanese, but you can download at least.
make test
make DESTDIR=/usr/local install
-* Build on the relative directory from the ruby source directory.
+* Build on the relative directory from the ruby source directory and CPU type
+ i386.
ex.)
ruby source directory: C:\ruby
build directory: C:\ruby\bccwin32
install directory: C:\usr\local
-
+ CPU i386
+
C:
cd \ruby
mkdir bccwin32
cd bccwin32
- ..\bcc32\configure
+ ..\bcc32\configure target i386-bccwin32
make
make test
make DESTDIR=/usr/local install
diff --git a/bcc32/configure.bat b/bcc32/configure.bat
index deb18d3..449b6e2 100644
--- a/bcc32/configure.bat
+++ b/bcc32/configure.bat
@@ -8,25 +8,25 @@ echo>> ~tmp~.mak conf = %0
echo>> ~tmp~.mak $(conf:\=/): nul
echo>> ~tmp~.mak @del ~tmp~.mak
echo>> ~tmp~.mak @-$(MAKE) -l$(MAKEFLAGS) -f $(@D)setup.mak \
+echo>> ~tmp~.mak bcc32dir="$(@D)" \
:loop
if "%1" == "" goto :end
if "%1" == "--srcdir" goto :srcdir
if "%1" == "srcdir" goto :srcdir
if "%1" == "--target" goto :target
if "%1" == "target" goto :target
- echo>> ~tmp~.mak "%1" \
+ echo>> ~tmp~.mak "%1"
shift
goto :loop
:srcdir
- echo>> ~tmp~.mak "srcdir=%2" \
+ echo>> ~tmp~.mak "srcdir=%2"
shift
shift
goto :loop
:target
- echo>> ~tmp~.mak "%2" \
+ echo>> ~tmp~.mak %2
shift
shift
goto :loop
:end
-echo>> ~tmp~.mak bcc32dir="$(@D)"
make -s -f ~tmp~.mak