summaryrefslogtreecommitdiffstats
path: root/bcc32/README.bcc32
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-29 08:22:48 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-29 08:22:48 +0000
commit1076ce88aa6ba7ca4ba66fe8d62a6c3492938264 (patch)
treea11d9226bbaaa1e3fb029cb5e8a9f8957b9f1a01 /bcc32/README.bcc32
parent997c27b3f77387d65dfbe6c861ff73570ae3d9a7 (diff)
downloadruby-1076ce88aa6ba7ca4ba66fe8d62a6c3492938264.tar.gz
ruby-1076ce88aa6ba7ca4ba66fe8d62a6c3492938264.tar.xz
ruby-1076ce88aa6ba7ca4ba66fe8d62a6c3492938264.zip
* bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir'' instead of ``make DESTDIR=dir install''. --with-static-linked-ext support on mswin32. [ruby-dev:23034] (by Nakada. Thanks.) * bcc32/setup.mak: "configure --disable-install-doc" is now working. * win32/setup.mak: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32/README.bcc32')
-rw-r--r--bcc32/README.bcc3233
1 files changed, 19 insertions, 14 deletions
diff --git a/bcc32/README.bcc32 b/bcc32/README.bcc32
index a699d34a4..afa592761 100644
--- a/bcc32/README.bcc32
+++ b/bcc32/README.bcc32
@@ -6,11 +6,7 @@
(1) Borland C++ 5.0 or later.
-(2) If you want to run `((%make clean%))' or `((%make distclean%))'
- properly, you must install UNIX compatible `((%rm%))' command on
- your ((|PATH|)).
-
-(3) Please set environment variable (({INCLUDE})), (({LIB})), (({PATH}))
+(2) Please set environment variable (({INCLUDE})), (({LIB})), (({PATH}))
to run required commands properly from the command line.
Note: building ruby requires following commands.
@@ -19,10 +15,19 @@
* tlib
* ilink
+(3) If you want to build from CVS source, following commands are required.
+ * byacc
+ * sed
+
== How to compile and install
(1) Execute bcc32\configure.bat on your build directory.
- ex. c:\ruby-1.6.7>bcc32\configure.bat
+ ex. c:\src\ruby> bcc32\configure.bat
+ You can specify the target platform as an argument.
+ For example, run `((%configure i686-bccwin32%))'
+ You can also specify the install directory.
+ For example, run `((%configure --prefix=<install_directory>%))'
+ Default of the install directory is /usr .
(2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
if you want to change the name of the executable files.
@@ -33,7 +38,7 @@
(4) Run `((%make test%))'
-(5) Run `((%make DESTDIR=<install_directory> install%))'
+(5) Run `((%make install%))'
This command will create following directories and install files onto them.
* <install_directory>\bin
@@ -46,7 +51,7 @@
* <install_directory>\lib\ruby\site_ruby\<MAJOR>.<MINOR>\<PLATFORM>
* <install_directory>\man\man1
If Ruby's version is `x.y.z', the ((|<MAJOR>|)) is `x' and the ((|<MINOR>|)) is `y'.
- The ((|<PLATFORM>|)) is usually `(({i586-bccwin32}))'.
+ The default ((|<PLATFORM>|)) is `(({i386-bccwin32}))'.
== Icons
@@ -78,10 +83,10 @@ in Japanese, but you can download at least.
C:
cd \ruby
- bcc32\configure
+ bcc32\configure --prefix=/usr/local
make
make test
- make DESTDIR=/usr/local install
+ make install
* Build on the relative directory from the ruby source directory and CPU type
i386.
@@ -96,10 +101,10 @@ in Japanese, but you can download at least.
cd \ruby
mkdir bccwin32
cd bccwin32
- ..\bcc32\configure target i386-bccwin32
+ ..\bcc32\configure --prefix=/usr/local
make
make test
- make DESTDIR=/usr/local install
+ make install
* Build on the different drive.
@@ -110,10 +115,10 @@ in Japanese, but you can download at least.
D:
cd D:\build\ruby
- C:\src\ruby\bcc32\configure
+ C:\src\ruby\bcc32\configure --prefix=C:/usr/local
make
make test
- make DESTDIR=C:/usr/local install
+ make install
== Bugs