This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Generating data hex file with GCC
- From: Anders Norman <kompis at online dot no>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 29 Dec 2005 21:45:13 +0100
- Subject: Generating data hex file with GCC
Hi,
I need to create an Intel HEX file containing raw data for an embedded
solution. Source file would look something like this:
const unsigned char myData[] =
{
0x00, 0x00, 0x00, 0x00 ........
};
I also need to locate the data at a specific location in memory.
Can GCC handle this?
What tools do I need in addition? objdump?
regards,
Anders