This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to compile onto bare metal with GnuARM?
- From: Duane Ellis <duane-gcc-help at duaneellis dot com>
- To: eric dot fowler at gmail dot com, gcc-help at gcc dot gnu dot org
- Date: Thu, 15 Jan 2009 19:14:23 -0500
- Subject: Re: How to compile onto bare metal with GnuARM?
- Reply-to: duane-gcc-help at duaneellis dot com
Eric Fowler wrote:
I wish to compile C code that will execute directly on an ARM7TDMI chip that
has no operating system. My GnuARM compiler wants to link to syscalls (a
Linux-ism) and generate ELF and COFF and all that.
How to generate a naked binary?
Take a look at http://lostarm.sf.net
It will do exactly that, and builds GCC from sources, and does many other things.
-Duane.