This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: thumb code


On Thu, 2002-10-17 at 08:28, Vinayak P Risbud wrote:
>         I see, -mthumb option in arm assembler ?
>         How can I use this to compile .c file
> 

Like it says below - build a new GCC with for thumb-elf.

> Gary Thomas wrote:
> 
> > 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
-- 
------------------------------------------------------------
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]