summaryrefslogtreecommitdiffstats
path: root/release_docs/INSTALL_codewarrior.txt
blob: 6fed1c0277a76d2a1a5df2675f52ba045ba105bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

Instructions for Building the HDF5 Library, Tests, and Tools 
with the Metrowerks Code Warrior Compiler
---------------------------------------------------------------------------


The HDF5 library is supported under the Metrowerks Code Warrior version 8.0 compiler.
The Code Warrior port of the HDF5 library has been tested only on the
Windows NT platform.
The following instructions assume we will be using the path D:\hdf5 for installing the library.

Pre conditions: 
The zlib library is needed for building the hdf5 library. The path
of the zlib library must be defined in Target/Access Paths, D:\zlib. 
You will also need the szip libray in D:\szip.
TO obtain these libraries please refer to the HDF web site.

1. Unpack the file all.zip located in d:\hdf5\windows to d:\. This file contains
the Windows specific files of HDF5.

To build the HDF5 library:
1. Open the project file hdf5.mcp (located in d:\hdf5\proj\codewarrior\).
2. To build the library:
	Select the 'hdf5' target and build (menu Projects-> Make or F7 key).
3. To build all the targets (HDF5 library, test, and tools):
	Select the 'all' target and build.
4. To run the tests in a command line window:
	In the command line window, change directory to d:\hdf5\test\. 
	Type 
	    Hdf5test debug
	or, to redirect the output to a file called myfile.txt,
	    Hdf5test debug > myfile.txt
   The test and tools files are generated in the same directory as 
   the those compiled with the Microsoft Visual Studio compiler.
5. Enjoy.


---------------------------------------------------------------------------
The HDF Group would like to thank Ron Liechty of Metrowerks technical 
support for all the help provided during the development of this project.