From: David Ahern <dsahern@gmail.com>
To: Koteswararao Nelakurthi <knelakurthi@mvista.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Perf tool cross build issue
Date: Wed, 15 Aug 2012 19:31:35 -0600 [thread overview]
Message-ID: <502C4D77.7010505@gmail.com> (raw)
In-Reply-To: <CAAo=-0a74sJ1TieeCH81K+gKFaiKNAKLKL-eiDp-jYnGJVjkbg@mail.gmail.com>
On 8/13/12 9:00 PM, Koteswararao Nelakurthi wrote:
> I am trying to cross compile Perf source present in 2.6.35/tools/perf
> directory for ARM.in ubuntu machine.(x86 is host machine).But i am
> facing the following compilation error as compiler looks at host
> specific header files instead of looking at header files present in
> perf/ directory..Please provide Makefile changes required to compile
> successfully perf for ARM.{{{
>
> perf>make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
>
Do you have a sysroot for the cross-compile environment? e.g., for WRL3
we use:
CROSS_COMPILE = i586-wrs-linux-gnu-
CROSS_SYSROOT = /path/to/cross-compile/sysroot
make CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) CC="$(CROSS_COMPILE)gcc
--sysroot=$(CROSS_SYSROOT)"
David
next prev parent reply other threads:[~2012-08-16 1:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 3:00 Perf tool cross build issue Koteswararao Nelakurthi
2012-08-16 0:31 ` Namhyung Kim
2012-08-16 3:17 ` Koteswararao Nelakurthi
2012-08-20 14:08 ` Arnaldo Carvalho de Melo
2012-08-16 1:31 ` David Ahern [this message]
2013-10-23 9:00 ` Compile linux tool perf for Android Hiep Trinh
2015-08-10 5:21 ` shyam
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=502C4D77.7010505@gmail.com \
--to=dsahern@gmail.com \
--cc=knelakurthi@mvista.com \
--cc=linux-perf-users@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.