From a1b99eb0c92995db3b792c4e175a23ac07f84ac3 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 1 Apr 2004 23:29:28 +0000 Subject: [PATCH] ICU-3389 First draft of Cygwin build documentation X-SVN-Rev: 14837 --- icu4c/readme.html | 83 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 74 insertions(+), 9 deletions(-) diff --git a/icu4c/readme.html b/icu4c/readme.html index 767b71e9448..165fd2137ee 100644 --- a/icu4c/readme.html +++ b/icu4c/readme.html @@ -30,7 +30,7 @@ ICU 2.8 ReadMe -

Version: 2004-Jan-08
+

Version: 2004-Apr-01
Copyright © 1997-2004 International Business Machines Corporation and others. All Rights Reserved.

@@ -59,6 +59,8 @@
  • Windows XP on IA64
  • +
  • Cygwin
  • +
  • UNIX
  • z/OS (os/390)
  • @@ -637,6 +639,14 @@ Regularly tested + + Windows 2000 with CygWin + + Microsoft Visual C++ 6.0 + + Regularly tested + + Mac OS X (10.2) @@ -744,14 +754,6 @@ Rarely tested - - CygWin - - Microsoft Visual C++ 6.0 - - Rarely tested - - SGI/IRIX @@ -961,6 +963,69 @@ previous section. +

    How To + Build And Install On Windows with Cygwin

    + +

    Building International Components for Unicode with this configuration + requires:

    + + + +

    There are two ways you can build ICU with Cygwin. You can build with gcc + or Microsoft Visual C++. If you use gcc, + the resulting libraries and tools will depend on the Cygwin environment. If you use + Microsoft Visual C++, the resulting libraries and tools do not depend + on Cygwin and can be more easily distributed to other Windows computers + (the generated man pages and shell scripts still need Cygwin). + To build with gcc, please follow the + "How To Build And Install On UNIX" + instructions, while you are inside a Cygwin bash shell. + To build with Microsoft Visual C++, please use the following instructions:

    + +
      +
    1. Start the Windows "Command Prompt" window (this is different + from the gcc build, which requires the Cygwin Bash Shell).
    2. + +
    3. If the computer isn't set up to use Visual C++ from the command + line, you need to run VCVARS32.BAT (for example: + "C:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT").
    4. + +
    5. Unzip the icu-XXXX.zip file into any convenient location. Using + command line zip, type "unzip -a icu-XXXX.zip -d drive:\directory", or + just use WinZip.
    6. + +
    7. Change directory to "icu/source", which is where you unzipped ICU.
    8. + +
    9. Run "bash ./runConfigureICU Cygwin/MSVC" + (See configuration note below).
    10. + +
    11. Type "make" to compile the libraries and all the data files. + This make command should be GNU make.
    12. + +
    13. Optionally, type "make check" to run the test suite, which + checks for ICU's functionality integrity (See testing note below).
    14. + +
    15. Type "make install" to install ICU. If you used the + --prefix= option on configure or runConfigureICU, ICU will be installed + to the directory you specified. (See installation note below).
    16. +
    +

    How To Build And Install On UNIX