*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
This commit is contained in:
H_Konishi 2002-10-22 10:54:11 +00:00
parent 6073c68242
commit 57a6839081
3 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,10 @@
Tue Oct 22 19:44:03 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
* bcc32/configure.bat : The command line when calling setup.mak is
corrected.
*bcc32/readme.bcc32 : It follows up about the option of configure.bat.
Tue Oct 22 15:23:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> Tue Oct 22 15:23:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* instruby.rb: add dryrun mode. * instruby.rb: add dryrun mode.

View File

@ -83,18 +83,20 @@ in Japanese, but you can download at least.
make test make test
make DESTDIR=/usr/local install 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.) ex.)
ruby source directory: C:\ruby ruby source directory: C:\ruby
build directory: C:\ruby\bccwin32 build directory: C:\ruby\bccwin32
install directory: C:\usr\local install directory: C:\usr\local
CPU i386
C: C:
cd \ruby cd \ruby
mkdir bccwin32 mkdir bccwin32
cd bccwin32 cd bccwin32
..\bcc32\configure ..\bcc32\configure target i386-bccwin32
make make
make test make test
make DESTDIR=/usr/local install make DESTDIR=/usr/local install

View File

@ -8,25 +8,25 @@ echo>> ~tmp~.mak conf = %0
echo>> ~tmp~.mak $(conf:\=/): nul echo>> ~tmp~.mak $(conf:\=/): nul
echo>> ~tmp~.mak @del ~tmp~.mak echo>> ~tmp~.mak @del ~tmp~.mak
echo>> ~tmp~.mak @-$(MAKE) -l$(MAKEFLAGS) -f $(@D)setup.mak \ echo>> ~tmp~.mak @-$(MAKE) -l$(MAKEFLAGS) -f $(@D)setup.mak \
echo>> ~tmp~.mak bcc32dir="$(@D)" \
:loop :loop
if "%1" == "" goto :end if "%1" == "" goto :end
if "%1" == "--srcdir" goto :srcdir if "%1" == "--srcdir" goto :srcdir
if "%1" == "srcdir" goto :srcdir if "%1" == "srcdir" goto :srcdir
if "%1" == "--target" goto :target if "%1" == "--target" goto :target
if "%1" == "target" goto :target if "%1" == "target" goto :target
echo>> ~tmp~.mak "%1" \ echo>> ~tmp~.mak "%1"
shift shift
goto :loop goto :loop
:srcdir :srcdir
echo>> ~tmp~.mak "srcdir=%2" \ echo>> ~tmp~.mak "srcdir=%2"
shift shift
shift shift
goto :loop goto :loop
:target :target
echo>> ~tmp~.mak "%2" \ echo>> ~tmp~.mak %2
shift shift
shift shift
goto :loop goto :loop
:end :end
echo>> ~tmp~.mak bcc32dir="$(@D)"
make -s -f ~tmp~.mak make -s -f ~tmp~.mak