public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Naren chandru <naren_lin@yahoo.co.in>
Cc: systemtap@sources.redhat.com
Subject: Re: Systemtap source compile for ARM arch
Date: Wed, 11 Jul 2007 17:02:00 -0000	[thread overview]
Message-ID: <y0mlkdmgaot.fsf@ton.toronto.redhat.com> (raw)
In-Reply-To: <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

  parent reply	other threads:[~2007-07-11 16:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11  8:25 Naren chandru
2007-07-11 15:33 ` Eugene Teo
2007-07-11 16:36   ` Eugene Teo
2007-07-11 20:34   ` Anderson Lizardo
2007-07-11 17:02 ` Frank Ch. Eigler [this message]
2007-07-12 14:13   ` Naren chandru
2007-07-12 17:24     ` Frank Ch. Eigler
2007-07-31 13:48       ` Systemtap hello world error with ARM Naren chandru

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=y0mlkdmgaot.fsf@ton.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=naren_lin@yahoo.co.in \
    --cc=systemtap@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).