mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Erwin Rol <mailinglists@erwinrol.com>
To: ptxdist@pengutronix.de
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: Re: [ptxdist] 64bit kernel 32bit userspace
Date: Wed, 24 Jul 2013 12:37:33 +0200	[thread overview]
Message-ID: <51EFAE6D.9030202@erwinrol.com> (raw)
In-Reply-To: <20130724095707.GF1754@pengutronix.de>

Hey Uwe,

On 24-7-2013 11:57, Uwe Kleine-König wrote:
> Hi Erwin,
> 
> On Wed, Jul 24, 2013 at 11:31:40AM +0200, Erwin Rol wrote:
>> is it possible to setup ptxdist to compile a 64bit kernel and 32bit
>> userspace. I didn't find a way to select two different compilers, one
>> for the kernel and one for the userspace programms.
> I would expect that the kernel does the right thing with a toolchain
> that defaults to 32bit. (i.e. passing -m64)

Does that really work, for a i686-X compiler? I thought that only worked
the other way around, a x86_64-X compiler with -m32 ?

> I wonder why you want such a mixed setup?!

To let kernel use the extra registers and MMU features of the X86_64
mode, but not to worry about userspace programs that aren't 64bit clean.

- Erwin



-- 
ptxdist mailing list
ptxdist@pengutronix.de

      parent reply	other threads:[~2013-07-24 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24  9:31 Erwin Rol
2013-07-24  9:57 ` Uwe Kleine-König
2013-07-24 10:32   ` Jürgen Beisert
2013-07-24 10:37   ` Erwin Rol [this message]

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=51EFAE6D.9030202@erwinrol.com \
    --to=mailinglists@erwinrol.com \
    --cc=ptxdist@pengutronix.de \
    --cc=u.kleine-koenig@pengutronix.de \
    /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