[lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches.

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Aug 22 08:55:24 EDT 2013


* Jimmy Durand Wesolowski (jimmy.durand.wesolowski at gmail.com) wrote:
> Hi,
> 
> 
> Here are some patches to allow installing LTTng-ust out of the system
> directories, ie building with "./configure --prefix", without having to set
> C/CPP/LDFLAGS at both the configure and the make building steps.

Usually, setting CPPFLAGS/CFLAGS/LDFLAGS at configure time is enough,
e.g.:

LDFLAGS=/usr/local/lib ./configure

What feature is this patchset adding that is not covered by the usual
approach ? Or what is it fixing ?

Thanks,

Mathieu

> 
> The "--with-urcu-prefix" is introduced to allow passing the userspace-rcu
> build output directory, and CFLAGS are given to the lttng-gen-tp tool
> when building '.c', '.h' and '.o' files, which requires URCU and tracepoint
> headers.
> 
> Jimmy Durand Wesolowski (2):
>   Introduce configure --with-urcu-prefix
>   Add the CFLAGS for an "out of system" building of the gen-tp example
>     files.
> 
>  configure.ac                 |   42 ++++++++++++++++++++++++++++++++++++------
>  doc/examples/Makefile.am     |    2 +-
>  doc/examples/gen-tp/Makefile |    9 ++++++---
>  3 files changed, 43 insertions(+), 10 deletions(-)
> 
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list