This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Systemtap source compile for ARM arch
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Naren chandru <naren_lin at yahoo dot co dot in>
- Cc: systemtap at sources dot redhat dot com
- Date: 11 Jul 2007 12:35:46 -0400
- Subject: Re: Systemtap source compile for ARM arch
- References: <288227.23971.qm@web94305.mail.in2.yahoo.com>
Naren chandru <naren_lin@yahoo.co.in> writes:
> [...] Now I am trying to build it for ARM architecture. I don't
> know how to cross compile systemtap for ARM architecture. [...]
If you mean building a systemtap binary that will run on an ARM host
(and thus run a native ARM compiler to build the modules), this is how
it should work:
PATH=...path.to.arm.toolchain..:$PATH .../configure --host=CONFIG_TRIPLET ...
However, this breaks for a few different reasons. One of them is the
missing passing down of "--host" to a bundled elfutils build, which is
the likely configuration for a cross tool. There are some other
obstacles. But in principle, it should be workable.
- FChE