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: Vincent Rubiolo <vincent dot rubiolo at st dot com>
- To: murphyn at microsense dot co dot uk, gcc-help at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 08:39:31 +0200
- Subject: Re: GCC for embedded systems - help please
- References: <H0000cba18394c39.1055266073.eux100.sgp.st.com@MHS>
Hello Nigel,
The crossgcc ml is now @sources.redhat.com.
For useful info on GNU in embedded systems, look for Bill Gatliff's site which is full of tutorials
and interesting examples.
ld manual also gives a short reference on how to set up code as it is done in crt0 (C version. You
may not be forced to switch to ASM, AFAIK) p 33 (AT command and corresponding C code to relocate the
corresponding sections of your program)
Hopes that helps.
Regards,
Vincent
murphyn@microsense.co.uk wrote:
Dear GNUs,
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. 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.