summaryrefslogtreecommitdiffstats
path: root/release_docs/INSTALL_Cygwin.txt
diff options
context:
space:
mode:
Diffstat (limited to 'release_docs/INSTALL_Cygwin.txt')
-rw-r--r--release_docs/INSTALL_Cygwin.txt55
1 files changed, 15 insertions, 40 deletions
diff --git a/release_docs/INSTALL_Cygwin.txt b/release_docs/INSTALL_Cygwin.txt
index 0cb0968..b63d294 100644
--- a/release_docs/INSTALL_Cygwin.txt
+++ b/release_docs/INSTALL_Cygwin.txt
@@ -98,29 +98,7 @@ Install HDF5 on Cygwin
$ bunzip2 < hdf5-1.8.0.tar.bz2 | tar xf -
-3. Setup environment
-
- In the latest version of the Cygwin DLL, a bug was introduced
- relating to the 'timezone' global variable and C99 support. As
- work-around, we must use a special compiler flag.
-
- 3.1. In the command prompt you plan to build from, run the
- command:
-
- export CFLAGS="-ansi ${CFLAGS}"
-
- 3.2 (Optional) If you plan to build C++ libraries, also
- run the command:
-
- export CXXFLAGS="-ansi ${CXXFLAGS}"
-
- 3.3 (Optional) If you plan to build Fortran libraries, also
- run the command:
-
- export FCFLAGS="-ansi ${FCFLAGS}"
-
-
-4. Configuring
+3. Configuring
Notes: See detailed information in hdf5/release_docs/INSTALL,
part 5. Full installation instructions for source
@@ -134,19 +112,19 @@ Install HDF5 on Cygwin
In short,
- 4.1 To configure HDF5 C Library, using
+ 3.1 To configure HDF5 C Library, using
$ ./configure
- 4.2 To configure HDF5 C/C++ Library, using
+ 3.2 To configure HDF5 C/C++ Library, using
$ ./configure --enable-cxx
- 4.3 To configure HDF5 C/Fortran Library, using
+ 3.3 To configure HDF5 C/Fortran Library, using
$ ./configure --enable-fortran
- 4.4 To configure HDF5 C with Szip library, using
+ 3.4 To configure HDF5 C with Szip library, using
$ ./configure --with-szlib="path to szlib"
@@ -157,15 +135,15 @@ Install HDF5 on Cygwin
$ ./configure --with-szlib=/cygdrive/c/szip
- 4.5 To configure HDF5 C without Zlib,
+ 3.5 To configure HDF5 C without Zlib,
To disable zlib, using
$ ./configure --without-zlib
- 4.6 Two ways to configure HDF5 C with specified Zlib
+ 3.6 Two ways to configure HDF5 C with specified Zlib
- 4.6.1 Using
+ 3.6.1 Using
$ ./configure --with-zlib=INCDIR,LIBDIR
@@ -175,7 +153,7 @@ Install HDF5 on Cygwin
$ ./configure --with-zlib=/cygdrive/c/usr/include,/cygdrive/c/usr/lib
- 4.6.2 Through the CPPFLAGS and LDFLAGS Variables
+ 3.6.2 Through the CPPFLAGS and LDFLAGS Variables
For example, if zlib was installed in the directory
/cygdrive/c/usr then using the following command to configure
@@ -185,7 +163,7 @@ Install HDF5 on Cygwin
$ LDFLAGS=-L/cygdrive/c/usr/lib \
$ ./configure
- 4.7 To specify the installation directories, using
+ 3.7 To specify the installation directories, using
$ ./configure --prefix="path for installation"
@@ -196,7 +174,7 @@ Install HDF5 on Cygwin
the path with the `--prefix=PATH' switch as in the above
command.
- 4.8 Combination of Switches
+ 3.8 Combination of Switches
All of the above switches can be combined together. For
example, if users want to configure HDF5 C/C++/Fortran
@@ -231,7 +209,7 @@ Install HDF5 on Cygwin
--enable-fortran
<"If no more switches, then hit Enter">
-5. Make and Make Check
+4. Make and Make Check
After configuration is done successfully, run the following series of
commands to build, test and install HDF5
@@ -242,23 +220,20 @@ Install HDF5 on Cygwin
Before run "make install", check output file for "make check", there
should be no failures at all.
-6. Make Install
+5. Make Install
$ make install > "output file name"
-7. Check installed HDF5 library
+6. Check installed HDF5 library
After step 4, go to your installation directory, there should be
three subdirectories: "bin" "include" and "lib".
-8. Known Problems
+7. Known Problems
Shared libraries can not be built on Cygwin In release 1.8.0.
- There are issues linking with the latest Cygwin DLL. As a work-around,
- make sure to follow the steps described in step 3 above.
-
-----------------------------------------------------------------------
Need Further assistance, email help@hdfgroup.org