Re: GCC / Coldfire / Elf format compliant with windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Despina wrote:
Hi everyone,

I am working with a GCC compiler, for a coldfire 5407 target (under
windows XP/Cygwin).

I have written an application that is dedicated to run on my coldfire
target, using an OS we have developped ourselves.


I would like to debug my application, using the BDM port of my device?
The software I would like to use is Trace 32 along with the Lauterbach
debug interface. The problem is that Trace 32 doesn't seem to work with
the elf file I got when compiling my application. It says "Error : entry
near offset 3708". I have taken a look at the elf file, and I found out
that every links in this file are expresses "linux style" i.e. with '/'
directories and so on. I guess this is the reason why my debugging
software doesn't want to load my elf file.


Do you know how I could force the linker (m68k-elf-ld) to generate paths
in the elf file that are compliant with windows? (by the way, the option
I use to get my elf file is OUTPUT_FORMAT("elf32-little")   ).

Windows' file system accepts both / and \ as a directory separator.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux