Generating data hex file with GCC

Anders Norman
Thu Dec 29 20:45:00 GMT 2005


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?


More information about the Gcc-help mailing list