This is the mail archive of the
mailing list for the GCC project.
Re: How to create raw binary executable?
- From: Jie Zhang <jie at codesourcery dot com>
- To: BrianC at sannas dot org
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 05 Apr 2010 13:17:06 +0800
- Subject: Re: How to create raw binary executable?
- References: <firstname.lastname@example.org>
On 04/05/2010 12:42 PM, Brian Catlin wrote:
What you want is
I’ve read megabytes of documentation until my eyes started bleeding, but I
cannot figure this out.
I am writing embedded software for the PC platform, and I need to create
executable files that contain just code – no headers or sections – that can
be called by the BIOS boot loader. My development platform is Windows, and
the majority of the code is written in Ada (GNAT). Is there a way to tell
GNATlink or LD to create such an output file, or do I need to build a
special version of GCC? If I need a special version of GCC, how do I build
(650) 331-3385 x735