Hi,
Yes, you are right. However that is just a name:
Please run "ls -al /usr/bin/m68hc12-addr2line"
/usr/bin/m68hc12-addr2line -> m68hc11-addr2line
As you see this is just a simple link ...
We let the executable knows about our target CPU with the argument
passed to the executable file ... I mean:
m68hc11-addr2line == m68hc12-addr2line
But we distinguish them by passing different flags: -m68hc12 or -
m68hc11 ...
For more information please have look at the way I compiled GCC for
hcs12:
http://gcc-hcs12.com/downloads/build_script.tcsh
first I used: setenv GCC_HC123_PROGRAM_PREFIX 'm6812-elf-'
and then I passed --program-prefix="$GCC_HC123_PROGRAM_PREFIX" which
means my new executable files will start with m6812-elf-
Hope this helps,
Navid