From 8a5dba33b2f602066d7aed696593340ba884fddd Mon Sep 17 00:00:00 2001 From: ocean Date: Sun, 29 Feb 2004 08:22:48 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@5853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bcc32/README.bcc32 | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'bcc32/README.bcc32') diff --git a/bcc32/README.bcc32 b/bcc32/README.bcc32 index a699d34a4e..afa5927612 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=%))' + 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%))' +(5) Run `((%make install%))' This command will create following directories and install files onto them. * \bin @@ -46,7 +51,7 @@ * \lib\ruby\site_ruby\.\ * \man\man1 If Ruby's version is `x.y.z', the ((||)) is `x' and the ((||)) is `y'. - The ((||)) is usually `(({i586-bccwin32}))'. + The default ((||)) 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 -- cgit v1.2.3