People still use 68K Macs?
Posted with Newsforce for Windows CE
Vote Bush for President in 2004!
Vote Arnold for CA governor in 2003!
I've been experimenting with setting up a cross development platform
using the varoius GNU tools.
I have built gcc (2.5.8), gas (2.3), binutils (2.4) and gdb (4.12),
all with sparc-sun-solaris2.3 as the host and m68k-sun-sunos4 as the
I have been able to use gdb to talk to a remote stub on an EVS340.
The problem with m68k-sun-sunos4 as the target is that a.out is the
standard object format, which is ok for gdb to get debugging info
from, but utterly useless for downloading, as it lacks any information
on load address. Using the 'load' command in gdb happily tries to load
the code section at 0x2020, which is the address to load it on a
sun3. This, needless to say, is not what I had in mind, nor what the
My workaround is to link it twice, once with S-records as the output
for downloading, and once with a.out format for gdb to get its info.
I know that COFF has enough info to be able to get the load address,
but what about the debugging support for gdb?
Snail mail: Communicator Nexus AB Phone: +46 18 171814
Box 857 Fax: +46 18 696516
S - 751 08 Uppsala, Sweden