This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: thumb code
I just want to try...and learn, how to build thumb code for .c files
using gcc
But, I am not able to do it...and see the binary size difference.
I know, ecos will not work in thumb mode...due to gcc bug.
I am just trying to compile, a hello.c program in arm thumb mode
Can you help me ?
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
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss