Hi all, Is it possible to get the C51 compiler output with ELF format ?. In other words Can i extract Map file or listing file with ELF file format using c51 compiler or any other embedded system C compiler? Thanks in advance.
Having written <blah>-to-ELF conversion utilities before, I'd say yes it's possible. If someone asked me to do it, I would certainly pose the question "What is the root requirement?", since I can't imagine the need. But hey, I'm just an ignorant sod and do what I'm asked to do -- if you want it, I can (usually) build it -- for a price ;-)
hi all, More clearly, I want to extract the amount of RAM due to the variables and ROM size from the elf file. How can i do this ? Why iam doing this: I want to automate such calculation for different compilers which produces the elf format. Thanks in advance
Just inspect the linker map file output. There's absolutely no need for ELF here.
View all questions in Keil forum