This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]