LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: loody <miloody@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>, catalin.marinas@arm.com
Subject: some question about aarch32 for ARM64
Date: Mon, 23 Feb 2015 20:28:57 +0800	[thread overview]
Message-ID: <CANudz+sn4pv+X4ema=kTc9WhxXv300sA=uTXrb3psVwB5uV6Rg@mail.gmail.com> (raw)

hi all:
I follow below instructions to compile a simple c file as aarch32 but in vain.

https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/AArch64-Options.html#AArch64-Options

And I download the toolchain from
http://www.linaro.org/downloads/
(linaro-toolchain-binaries 4.9 (Aarch64 little-endian))

I saw there are aarch32 support in arm64 kernel porting.
Would you mind to let us know how to get aarch32 ELF for running on
ARM64 processors?

Sincerely appreciate your kind help in advance,

PS:Below is my compile error message:
#aarch64-linux-gnu-gcc -mabi=ilp32 test.c
/media/sdb2/toolchain/arm/gcc-
linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/../lib/gcc/aarch64-linux-gnu/4.9.2/../../../../aarch64-linux-gnu/bin/ld:
skipping incompatible
/media/sdb2/toolchain/arm/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/../lib/gcc/aarch64-linux-gnu/4.9.2/libgcc.a
when searching for -lgcc





-- 
Regards,

             reply	other threads:[~2015-02-23 12:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 12:28 loody [this message]
2015-02-23 13:27 ` Catalin Marinas
2015-02-24  5:19   ` loody
2015-03-16 10:01     ` Jon Masters

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='CANudz+sn4pv+X4ema=kTc9WhxXv300sA=uTXrb3psVwB5uV6Rg@mail.gmail.com' \
    --to=miloody@gmail.com \
    --cc=catalin.marinas@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: some question about aarch32 for ARM64' \
    /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

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 NNTP newsgroup(s).