summaryrefslogtreecommitdiff
path: root/bcc32
diff options
context:
space:
mode:
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 fe55046013..a699d34a4e 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 deb18d3ef4..449b6e25b5 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