From: billium <billium@bucknall.me.uk>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] arm-unknown-elf
Date: Mon, 30 Mar 2009 09:06:30 +0100 [thread overview]
Message-ID: <49D07D86.2040905@bucknall.me.uk> (raw)
In-Reply-To: <49CF5E82.30006@gmx.ch>
Martin Gysel wrote:
> billium schrieb:
>
>> billium wrote:
>>
>>
>>> I am trying to build a toolchain for a STM32 board.
>>> I use: crossdev -s1 arm-unknown-elf-gnu
>>>
>>> but that fails in binutils, o/p of log:
>>> checking target system type... Invalid configuration
>>> `arm-unknown-elf-gnu': machine `arm-unknown-elf' not recognized
>>>
>>> yet crossdev -s1 arm-unknown-linux-gnu works
>>>
>>> Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5
>>> Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3,
>>> glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
>>>
>>> Any help please?
>>>
>>> Billy
>>>
>>>
>>>
>>>
>> My mistake .. I should have used: crossdev -s1 --without-headers arm-elf
>>
>>
> afaik arm-softfloat-elf should also work and should be used as the STM32
> doesn't have a floating point unit... (I use it on a luminary board)
> what I'm still wondering, how do I enable the arm EABI? do I have to
> configure this at build time, can it be done through a compiler switch
> or at the end is this enabled anyway? afaik you need EABI if you want to
> link you code against libraries which were build with a different
> compiler, say IAR
>
> /martin
>
>
>
Hello Martin
Thanks for your answer. Did not look at it yesterday, as it was sunny
in the UK :). I also tried arm-softfloat-elf and got the same error. I
do not know about switching the EABI. Do you know how to include
newlib? Could you please post your linker script / makefile as I am
having linker problems ..not finding file.
Many thanks
Billy
next prev parent reply other threads:[~2009-03-30 8:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 17:49 [gentoo-embedded] arm-unknown-elf billium
2009-03-28 23:29 ` billium
2009-03-29 11:41 ` Martin Gysel
2009-03-30 5:05 ` Mike Frysinger
2009-03-30 8:06 ` Martin Guy
2009-03-30 8:06 ` billium [this message]
2009-03-30 13:21 ` Martin Gysel
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=49D07D86.2040905@bucknall.me.uk \
--to=billium@bucknall.me.uk \
--cc=gentoo-embedded@lists.gentoo.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