From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13944 invoked by alias); 27 Aug 2010 17:10:15 -0000 Received: (qmail 13935 invoked by uid 22791); 27 Aug 2010 17:10:13 -0000 X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Aug 2010 17:10:07 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Op2RI-0008AO-Hp for systemtap@sources.redhat.com; Fri, 27 Aug 2010 19:10:04 +0200 Received: from 64.122.56.22 ([64.122.56.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Aug 2010 19:10:04 +0200 Received: from grant.b.edwards by 64.122.56.22 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Aug 2010 19:10:04 +0200 To: systemtap@sources.redhat.com From: Grant Edwards Subject: Hints for cross-compiling staprun? Date: Fri, 27 Aug 2010 17:10:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: slrn/pre0.9.9-102 (Linux) X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00309.txt.bz2 I've found plenty of docs for cross-compiling a script to create a kernel module for a target arch different from the host where "stap" is being run. I've got that working with no problem. I've also found a few vague hints about cross compiling a full-up systemtap installation (requiring elfutils and a handfull of other libraries that don't appear to be needed by staprun). What I can't find is any documentation on cross-compiling staprun. Most of the docs that talk about cross-debugging just toss off advice like "install the systemtap-runtime RPM on the target". How does one cross-compile staprun without dragging in all of the baggage required for a full-up systemtap install? -- Grant Edwards grant.b.edwards Yow! Not SENSUOUS ... only at "FROLICSOME" ... and in gmail.com need of DENTAL WORK ... in PAIN!!!