This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC for embedded systems - help please
- From: Muthukumar Ratty <muthu at iqmail dot net>
- To: Nigel Murphy <murphyn at microsense dot co dot uk>
- Cc: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 10 Jun 2003 16:10:47 -0700 (PDT)
- Subject: Re: GCC for embedded systems - help please
Hi,
>
> I'm trying to compile some software for an embedded system. The host
> system is a 486, I'm building on a 686. I'm trying to use GCC to compile
> the source, but instead of the standard a.out elf format, all I want is
> binary.
you can use the objcopy util to convert elf to binary. use -O binary
option.
Muthu.
I've written my own memoryscript.ld and crt0.s, although I'm now
> having great difficulty getting code to run. I think theres problem with my
> crt0.s
>
> I've done some web trawling, and keep getting redirect to www.cygnus.com,
> which is now a different site (I think? Havent seen the original). I've
> also mailed the cross gcc mailing list (@cygnus.com) with mails bouncing
> back! Has this site moved?
>
> Does anyone know where I can find info on GCC for embedded systems,
> especially info on crt0.s for a i486?
>
> Has anyone done something like this before?
>
> Had a look around at cross gcc info, but still to no avail.
>
> Have I missed something? Will GCC do this for me?
>
>
> Thankyou for your time.
>
> Regards Nigel Murphy.
>
>
>
>