This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM SDT2.51 vs arm-elf-gcc
- From: "dnt ly" <lydnt at hotmail dot com>
- To: David dot Airlie at parthus dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 12 Apr 2002 08:41:56 +0800
- Subject: Re: [ECOS] ARM SDT2.51 vs arm-elf-gcc
- Bcc:
>
>
>Well I went on a hack and I've managed to build the Parthus Bluestream
>stack with armcc from ADS 1.1, eCos with arm-elf-gcc 2.95.3, the interface
>and application files with arm-elf-gcc and link it all together with
>arm-elf-ld with a modified linker script and a load of glue :-)
I'll have a try as you say!
>
>I haven't actually put it down on a board ( I don't have one available at
>the moment ), but it linked together fine ... I'd say issues around apcs,
>and structure packing may be the only thing that might hit me ..
>
>Linker script modification were, to the list of .text sections I had to
>add *(i.*) and to the .rodata section I had to add *(.constdata*)
>i. sections are generated with armcc -zo which is like the function/data
>sections from gcc,
will you send me the script which you have made modification!
>if it works on board it'll have been worth the laugh for the reduced code
>size figures :-), now for thumb !!!
and also improve performance(especially for MP3, MPEG, etc) :-)
>
>
>On 11 Apr 2002, David Airlie wrote:
>
> >
> > > >you might have a hope of getting the object linking using ADS the
newer
> > > >ARM stuff and gcc objects.. debugging would of course be impossible,
> > > have you had a try!
> >
> > I've done it for a trivial example, two files linking via armlink, one
> > object compiled with arm-elf-gcc one with ADS....
> >
> > you have to use ADS as SDT only creates AOF objects not ELF ones ...
> >
> > I'm not sure how well it would work for anything non-trivial .. I might
> > give it a lash for the laugh on a project I'm working on...
> >
> > Dave.
> >
> >
>
_________________________________________________________________
使用全球最多人使用的電子郵件服務 MSN Hotmail,請移至 http://www.hotmail.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