public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: tim@cygnetinc.com (Tim Michals)
Cc: <ecos-discuss@sourceware.cygnus.com>
Subject: Re: [ECOS] Thumb support for ARM
Date: Sat, 17 Mar 2001 21:39:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20010318002853.00bab7b0@mail.larwe.com> (raw)
In-Reply-To: <008b01c0af2c$fc3f42c0$d301010a@cygnetinc.com>

>According to the eCOS web page at
> http://sources.redhat.com/ecos/tools/win-thumb-elf.html
>the current 2.95.2 does not support arm thumb, what is the issue?  And when
>might this be fixed?

The issue isn't that 2.95.2 doesn't support arm-thumb, the issue is that it 
won't successfully compile eCos in thumb mode.

There doesn't seem to be a complete solution to that problem at the moment. 
What I have done is to use a recent CVS snapshot of the gcc sources, 
compiled for arm-elf. (Newer versions of gcc support -mthumb to generate 
Thumb code). It still is not possible to compile eCos as Thumb code (known 
gcc bug). However you can compile eCos in ARM mode, and specify the 
-mthumb-interwork switch. You can then compile your app in thumb mode with 
-mthumb -mthumb-interwork).

Note that in order to achieve this, you will also need to have the standard 
libraries built with thumb interworking enabled. Jonathan Larmour posted 
instructions for this a couple of weeks back, check the list archives.

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."

  reply	other threads:[~2001-03-17 21:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15  4:49 [ECOS] New to multi/embeddedICE Rajeev murthy
2001-02-15  7:05 ` Grant Edwards
2001-03-15 13:50   ` [ECOS] gcc tools for ARM? Tim Michals
2001-03-17 13:55     ` [ECOS] Thumb support for ARM Tim Michals
2001-03-17 21:39       ` Lewin A.R.W. Edwards [this message]
2001-02-15 17:51 ` [ECOS] New to multi/embeddedICE Todd Malsbary

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=4.3.2.7.2.20010318002853.00bab7b0@mail.larwe.com \
    --to=larwe@larwe.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=tim@cygnetinc.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).