From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni) Date: Mon, 26 Aug 2013 16:24:07 +0200 Subject: [lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches. In-Reply-To: References: <1377160051-12449-1-git-send-email-jimmy.durand.wesolowski@gmail.com> <20130822125523.GB26852@Krystal> <20130824175909.GA12409@Krystal> Message-ID: <20130826162407.1996f085@skate> 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/include" \ > CPPFLAGS="-I/include" \ > LDFLAGS="-L/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