RTEMS Logo

RTEMS 4.6.1 On-Line Library


How do I convert an executable to IEEE-695?

PREV UP next Bookshelf RTEMS Frequently Asked Questions

6.4: How do I convert an executable to IEEE-695?

This section is based on an email from Andrew Bythell <abythell@nortelnetworks.com> in July 1999.

Using Objcopy to convert m68k-coff to IEEE did not work. The new IEEE object could not be read by tools like the XRay BDM Debugger.

The exact nature of this problem is beyond me, but I did narrow it down to a problem with objcopy in binutils 2-9.1. To no surprise, others have discovered this problem as well, as it has been fixed in later releases.

I compiled a snapshot of the development sources from 07/26/99 and everything now works as it should. The development sources are at (thanks Ian!)

Additional notes on converting an m68k-coff object for use with XRay (and others):

  1. The m68k-coff object must be built with the -gstabs+ flag. The -g flag alone didn't work for me.
  2. Run Objcopy with the --debugging flag to copy debugging information.


PREV UP next Bookshelf RTEMS Frequently Asked Questions

Copyright © 1988-2004 OAR Corporation