mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org
Subject: using cc-option in arch/ppc64/boot/Makefile
Date: Thu, 14 Oct 2004 16:11:32 +0000	[thread overview]
Message-ID: <200410141611.32198.hollisb@us.ibm.com> (raw)

Hi Sam, I would like to use "cc-option-yn" in arch/ppc64/boot/Makefile.

All recent 64-bit gcc/binutils can produce 32-bit code by passing -m32 (or 
similar) to them. arch/ppc64/boot/zImage is actually a 32-bit executable, and 
the Makefile still requires a separate 32-bit cross-compiler to build it (in 
addition to the 64-bit cross-compiler used for the vmlinux). To decide if 
$(CC) can handle -m32, I'd like to use cc-option-yn (as in 
arch/ppc64/Makefile).

I've tried moving the cc-option stuff out of the top-level Makefile into 
something that can be included from arch/ppc64/boot/Makefile, but so far the 
right magic has escaped me. Any ideas?

-- 
Hollis Blanchard
IBM Linux Technology Center

             reply	other threads:[~2004-10-14 21:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-14 16:11 Hollis Blanchard [this message]
2004-10-17  9:57 ` Sam Ravnborg
2004-10-18 13:47   ` Hollis Blanchard
2004-10-18 21:01     ` Sam Ravnborg
2004-10-18 15:58       ` Hollis Blanchard

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=200410141611.32198.hollisb@us.ibm.com \
    --to=hollisb@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®