This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: thumb code
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Vinayak P Risbud <vinayak at multitech dot co dot in>
- Cc: Marc Pignat <marc dot pignat at hevs dot ch>,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 17 Oct 2002 08:19:53 -0600
- Subject: Re: [ECOS] thumb code
- References: <sdaeda12.045@hevs.ch> <3DAEBF98.6BD5464B@multitech.co.in>
On Thu, 2002-10-17 at 07:48, Vinayak P Risbud wrote:
> sorry for previous incomplete mail
> Hi,
> I tried -mthumb ..I have gcc 2.95 but it failed
> How can I build my C - sources for arm thumb target ?
> What version of gcc supports it ?
>
Previous versions of the compiler required a separate build (i.e.
you have to have two sets of GNU tools). Try configuring GCC/BINUTILS
with "--target=thumb-elf"
Various targets support this. Try turning on "CYGHWR_THUMB" in your
CDL.
Question: why do you want to do this?
> Marc Pignat wrote:
>
> > Hi !
> >
> > The options is:
> > -mthumb
> >
> > but this is only possible with gcc 3.x and gcc 3.x will not build ecos...
> >
> > Marc
> >
> > >>> Vinayak P Risbud <vinayak@multitech.co.in> 17/10/02 14h30 >>>
> > Hi ,
> > How to generate, arm thumb code using GCC ?
> > What is the compiler option ?
> >
> > ~
> > Vinayak
> >
> > --
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> >
> > --
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss