From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
Subject: [lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches.
Date: Mon, 26 Aug 2013 16:24:07 +0200 [thread overview]
Message-ID: <20130826162407.1996f085@skate> (raw)
In-Reply-To: <CAD7SSK7_sNYZE5knPEJuJwnj+OXmpcXg1EGGThnT4HW5+s5+KQ@mail.gmail.com>
Dear Jimmy Durand Wesolowski,
On Mon, 26 Aug 2013 09:43:49 +0200, Jimmy Durand Wesolowski wrote:
> Here is a quick test, without any of my modifications. I had to pass both
> CFLAGS and LDFLAGS to "./configure", as said earlier, which can be
> considered
> a normal process:
> CFLAGS="-I<URCU_BUILD_PATH>/include" \
> CPPFLAGS="-I<URCU_BUILD_PATH>/include" \
> LDFLAGS="-L<URCU_BUILD_PATH>/lib" \
> ./configure --prefix=${PWD}/build
As said previously, if you're cross-compiling, doing
--prefix=${PWD}/build is completely wrong. --prefix is the directory
where the software will be located when executed on the target, not the
location where the software will be installed when doing 'make install'.
Please document yourself on the difference between --prefix at
configure time and DESTDIR at install time.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-08-26 14:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1377160051-12449-1-git-send-email-jimmy.durand.wesolowski@gmail.com>
[not found] ` <20130822125523.GB26852@Krystal>
[not found] ` <CAMaFG-3HCsKngNE1cNv9PfCFuhnHwsON=T-q084ZjD+1Aj2Zqg@mail.gmail.com>
[not found] ` <20130824175909.GA12409@Krystal>
2013-08-24 19:42 ` Jimmy Durand
2013-08-26 7:43 ` Jimmy Durand Wesolowski
2013-08-26 14:24 ` Thomas Petazzoni [this message]
2013-08-26 15:11 ` Mathieu Desnoyers
2013-08-26 15:14 ` Jimmy Durand Wesolowski
2013-08-26 15:19 ` Mathieu Desnoyers
2013-08-26 15:27 ` Mathieu Desnoyers
2013-08-26 15:53 ` Jimmy Durand Wesolowski
2013-08-26 16:00 ` Mathieu Desnoyers
2013-08-27 15:02 ` Jimmy Durand Wesolowski
2013-08-26 15:13 ` Jimmy Durand Wesolowski
2013-08-26 14:22 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130826162407.1996f085@skate \
--to=thomas.petazzoni@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox