| Revision 480,
1.2 KB
checked in by faa59, 7 years ago
(diff) |
|
Add doc and examples directories to install kit
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | * |
|---|
| 2 | * This file is CVS only - README.tests is installed in /usr/local/nexus/tests |
|---|
| 3 | * |
|---|
| 4 | Both dynamic library versions (e.g. napi_test-hdf4) and |
|---|
| 5 | static library versions (e.g. napi_test-hdf4-static) of the test |
|---|
| 6 | programs are now build. |
|---|
| 7 | |
|---|
| 8 | Static Library Version |
|---|
| 9 | ---------------------- |
|---|
| 10 | |
|---|
| 11 | The static version "napi_test-hdf4-static" is a real self contained |
|---|
| 12 | executable and you can run it either directly or in a debugger with simply |
|---|
| 13 | |
|---|
| 14 | gdb napi_test-hdf4-static |
|---|
| 15 | |
|---|
| 16 | Dynamic Library Version |
|---|
| 17 | ----------------------- |
|---|
| 18 | |
|---|
| 19 | "napi_test-hdf4" is not a real executable, but a shell script that |
|---|
| 20 | invokes the real dynamic executable ".libs/napi_test-hdf4". Though |
|---|
| 21 | you can run ".libs/napi_test-hdf4" directly you should be aware that |
|---|
| 22 | it will then pick up whatever NeXus library is either currently in your |
|---|
| 23 | LD_* environment variable paths or installed in a system shared library |
|---|
| 24 | area (such as /usr/local/lib) |
|---|
| 25 | |
|---|
| 26 | To test the NeXus shared library you have just built you must use |
|---|
| 27 | the shell script "napi_test-hdf4" which will set |
|---|
| 28 | the correct environment before running ".libs/napi_test-hdf4" |
|---|
| 29 | |
|---|
| 30 | If you wish to run the program in a debugger you must use |
|---|
| 31 | |
|---|
| 32 | libtool --mode=execute gdb napi_test-hdf4 |
|---|
| 33 | |
|---|
| 34 | To check what shared libraries the program will load run |
|---|
| 35 | |
|---|
| 36 | libtool --mode=execute ldd napi_test-hdf4 |
|---|
| 37 | |
|---|
| 38 | $Id$ |
|---|
Note: See
TracBrowser
for help on using the repository browser.