| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
For a while, we were very confused why ppamltracer would work happily on
some Debian systems but produce dynamic linker errors on other, similar
ones. It turns out the difference was glibc versions – if you have
glibc <2.17, you need to specify '-lrt' for one of the functions
ppamltracer uses. This commit adds an Autoconf macro that adds that
flag if necessary; it should improve portability in general as well.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
As detailed in GitHub issue #1, attempting to build ppamltracer as a
shared library on Cygwin fails. I believed commit bfc92ba (‘autotools:
Don’t build DLLs on Cygwin by default’) fixed this; it does, but it also
disables shared library building on non-Cygwin systems.
We need to do a release, so this bug is getting deferred until later;
for the time being, the documented workaround is to pass
'--disable-shared' to 'configure'.
|
|
|
|
|
|
|
|
|
| |
This new API function is similar to 'ppaml_tracer_init', but instead of
accepting the report base name as an argument, it pulls it from the
'PPAMLTRACER_TRACE_BASE' environment variable. This is useful for users
who want to be able to vary the locations of trace reports but do not
want to build tracing into their configuration file / command-line
argument parsers.
|
|
|
|
|
|
|
|
| |
While gearing up to make an addition to the C library, I became
concerned at the lack of test infrastructure for the project. The build
system now integrates Check <http://check.sourceforge.net/>, a
lightweight testing framework for C, and there are a few tests to ensure
no serious regressions occur. You can run the tests with “make check”.
|
|
|
|
|
|
|
|
|
|
| |
By default, OTF does not build DLLs on Cygwin. Consequently, users who
built OTF and ppamltracer using the default 'configure' flags received
warnings about missing DLLs during ppamltracer’s link phase. This
commit changes that behavior, causing the generated configure script to
default to only building static libraries in Cygwin. Should users wish
to build DLLs, they can still do so by passing “--enable-shared” to
configure.
|
|
|