mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r18933] Update Cygwin install instructions
This commit is contained in:
parent
16e2d97f1c
commit
ffdb1186cc
@ -2,12 +2,10 @@
|
||||
HDF5 Build and Install Instructions for Cygwin
|
||||
************************************************************************
|
||||
|
||||
Needs Updating to latest versions
|
||||
|
||||
Preconditions:
|
||||
--------------
|
||||
|
||||
1. Installed Cygwin 1.5.17 or higher
|
||||
1. Installed Cygwin 1.7.5 or higher
|
||||
|
||||
To install the Cygwin net release, go to http://www.cygwin.com and
|
||||
click on "Install or update now!" icon. This will download a GUI
|
||||
@ -27,25 +25,18 @@ Preconditions:
|
||||
|
||||
2.1 C/C++ Compilers HDF5-1.8 Supported
|
||||
|
||||
gcc-3.4.4 is included in Cygwin, which includes:
|
||||
gcc : GNU C compiler
|
||||
gcc-g++: GNU C++ compiler
|
||||
gcc (4.3.4), which includes:
|
||||
gcc4-core : C compiler
|
||||
gcc4-g++ : C++ compiler
|
||||
gcc4-fortran : fortran compiler
|
||||
|
||||
2.2 Fortran Compiler HDF5-1.8 Supported
|
||||
2.2 Using Compilers Not Supported
|
||||
|
||||
HDF5-1.8 supports g95(GCC 4.0.1 (g95!) Jul 22 2005) and higher.
|
||||
|
||||
g95 is a free, open source Fortran 95 compiler. Users can
|
||||
download the g95 binaries for Cygwin in the following website:
|
||||
http://www.g95.org.
|
||||
|
||||
2.3 Using Compilers Not Supported
|
||||
|
||||
The compilers in 2.1 and 2.2 are supported and tested by HDF
|
||||
The compilers in 2.1 are supported and tested by HDF
|
||||
group. Any other compilers may still work but they are not
|
||||
guaranteed by HDF group.
|
||||
|
||||
If users want to use other compilers except those in 2.1 and 2.2,
|
||||
If users want to use other compilers except those in 2.1,
|
||||
try to set the following variables to override the default
|
||||
choices.
|
||||
|
||||
@ -85,28 +76,28 @@ Install HDF5 on Cygwin
|
||||
|
||||
The HDF5 source code is distributed in a variety of formats which
|
||||
can be unpacked with the following commands, each of which creates
|
||||
an `hdf5-1.8.1' directory.
|
||||
an `hdf5-1.8.5' directory.
|
||||
|
||||
2.1 Non-compressed tar archive (*.tar)
|
||||
|
||||
$ tar xf hdf5-1.8.1.tar
|
||||
$ tar xf hdf5-1.8.5.tar
|
||||
|
||||
2.2 Gzip'd tar archive (*.tar.gz)
|
||||
|
||||
$ gunzip < hdf5-1.8.1.tar.gz | tar xf -
|
||||
$ gunzip < hdf5-1.8.5.tar.gz | tar xf -
|
||||
|
||||
2.3 Bzip'd tar archive (*.tar.bz2)
|
||||
|
||||
$ bunzip2 < hdf5-1.8.1.tar.bz2 | tar xf -
|
||||
$ bunzip2 < hdf5-1.8.5.tar.bz2 | tar xf -
|
||||
|
||||
2. Setup Environment
|
||||
|
||||
In Cygwin, most compilers and setting are automatically detected during
|
||||
the configure script. However, if you are building Fortran we recommend
|
||||
that you explicitly set the "FC" variable in your environment to use the
|
||||
g95 Fortran compiler. For example, issue the command:
|
||||
gfortran compiler. For example, issue the command:
|
||||
|
||||
$ export FC=g95
|
||||
$ export FC=gfortran
|
||||
|
||||
4. Configuring
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user