<div dir="ltr">2013/8/24 Mathieu Desnoyers <span dir="ltr"><<a href="mailto:mathieu.desnoyers@efficios.com" target="_blank">mathieu.desnoyers@efficios.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">* Jimmy Durand (<a href="mailto:jimmy.durand.wesolowski@gmail.com">jimmy.durand.wesolowski@gmail.com</a>) wrote:<br>
> 2013/8/22 Mathieu Desnoyers <<a href="mailto:mathieu.desnoyers@efficios.com">mathieu.desnoyers@efficios.com</a>><br>
><br>
> > * Jimmy Durand Wesolowski (<a href="mailto:jimmy.durand.wesolowski@gmail.com">jimmy.durand.wesolowski@gmail.com</a>) wrote:<br>
> > > Hi,<br>
> > ><br>
> > ><br>
> > > Here are some patches to allow installing LTTng-ust out of the system<br>
> > > directories, ie building with "./configure --prefix", without having to<br>
> > set<br>
> > > C/CPP/LDFLAGS at both the configure and the make building steps.<br>
> ><br>
> > Usually, setting CPPFLAGS/CFLAGS/LDFLAGS at configure time is enough,<br>
> > e.g.:<br>
> ><br>
> > LDFLAGS=/usr/local/lib ./configure<br>
> ><br>
> > What feature is this patchset adding that is not covered by the usual<br>
> > approach ? Or what is it fixing ?<br>
> ><br>
> Actually, this is enough for a regular system build, but if you wish to<br>
> build<br>
> it in another directory with --prefix=<PATH>, which is the case for cross-<br>
> compiling, this not enough.<br>
<br>
</div>It might be a failure of my imagination but.. why is<br>
CPPFLAGS/CFLAGS/LDFLAGS not enough to get UST to fetch the dependencies<br>
it needs (e.g. userspace RCU) when they have been installed in<br>
non-standard paths (because e.g. userspace RCU has been configured with<br>
a --prefix path for sake of cross-compiling).<br></blockquote><div>When building the doc/examples source directories, it seems that the Makefiles are</div><div>not using the compiler and the flags set during the './configure' stage.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Can you give a more detailed use-case that CPPFLAGS/CFLAGS/LDFLAGS fail<br>
to cover ?<br></blockquote><div>Yes, I will send it a complete use case Monday morning (UTC+1).</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Thanks,</blockquote></div><div>Thank you for the support,</div>-- <br>Jimmy Durand Wesolowski<br>Linux System Engineer & amateur photographer<br>OpenWide
</div></div>