diff options
author | mostang.com!davidm <mostang.com!davidm> | 2004-05-04 22:24:50 +0000 |
---|---|---|
committer | mostang.com!davidm <mostang.com!davidm> | 2004-05-04 22:24:50 +0000 |
commit | f2b40607fd63b439420f06dd49a91ed67bb28f2d (patch) | |
tree | c1812cf6faccd397691295d134c923cefcd146cf /README | |
parent | bd193e05094c3d04204b129a4f4724341129a269 (diff) | |
download | libunwind-f2b40607fd63b439420f06dd49a91ed67bb28f2d.tar.gz |
Update sections on HP-UX.
(Logical change 1.223)
Diffstat (limited to 'README')
-rw-r--r-- | README | 39 |
1 files changed, 26 insertions, 13 deletions
@@ -61,24 +61,29 @@ should look like this: $ ./configure CC=icc CFLAGS="-g -O3 -ip" CXX=icc CCAS=gcc CCASFLAGS=-g \ LDFLAGS="-L$PWD/src/.libs" - * Building on HP-UX For the time being, libunwind must be built with GCC on HP-UX. -Unfortunately, gcc-3.0 and gcc-3.2 ship with a bad version of -sys/types.h. The workaround for this is: - $ mkdir $top_dir/include/sys - $ cp /usr/include/sys/types.h $top_dir/include/sys +libunwind should be configured and installed on HP-UX like this: -Apart from this glitch, libunwind should configure and install on -HP-UX like this: - - $ ./configure CFLAGS="-g -O2 -mlp64" + $ ./configure CFLAGS="-g -O2 -mlp64" CXXFLAGS="-g -O2 -mlp64" Caveat: Unwinding of 32-bit (ILP32) binaries is not supported at the moment. +** Workaround for older versions of GCC + +GCC v3.0 and GCC v3.2 ship with a bad version of sys/types.h. The +workaround is to issue the following commands before running +"configure": + + $ mkdir $top_dir/include/sys + $ cp /usr/include/sys/types.h $top_dir/include/sys + +GCC v3.3.2 or later have been fixed and do not require this +workaround. + * Regression Testing After building the library, you can run a set of regression tests with: @@ -111,10 +116,18 @@ The following tests are expected to fail on x86 Linux: ** Expected results on HP-UX -"make check" is currently unsupported for HP-UX. The only test -programs that are known to work at this time are tests/bt (which -produces various backtraces) and tests/Gperf-simple, which does some -simple performance measurements. +"make check" is currently unsupported for HP-UX. You can try to run +it, but most tests will fail (and some may fail to terminate). The +only test programs that are known to work at this time are: + + tests/bt + tests/Gperf-simple + tests/test-proc-info + tests/test-static-link + tests/Gtest-init + tests/Ltest-init + tests/Gtest-resume-sig + tests/Ltest-resume-sig * Performance Testing |