From: Peter Chubb <peter@chubb.wattle.id.au>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Cross compilation fix (2.5)
Date: Thu, 17 Apr 2003 02:53:24 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590723705529@msgid-missing> (raw)
To cross-compile Linux 2.5, you need this small patch,
otherwise the native objdump is used instead of one that understands
elf-ia64 images.
=== arch/ia64/scripts/check-gas 1.1 vs edited ==--- 1.1/arch/ia64/scripts/check-gas Sat Jan 25 14:45:37 2003
+++ edited/arch/ia64/scripts/check-gas Fri Apr 11 13:59:11 2003
@@ -2,7 +2,7 @@
dir=$(dirname $0)
CC=$1
$CC -c $dir/check-gas-asm.S
-res=$(objdump -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ')
+res=$(${CROSS_COMPILE}objdump -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ')
if [ $res != ".text" ]; then
echo buggy
else
reply other threads:[~2003-04-17 2:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=marc-linux-ia64-105590723705529@msgid-missing \
--to=peter@chubb.wattle.id.au \
--cc=linux-ia64@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.