* GCC / Coldfire / Elf format compliant with windows
@ 2004-11-09 13:38 Despina
2004-11-09 14:32 ` Nathan Sidwell
0 siblings, 1 reply; 2+ messages in thread
From: Despina @ 2004-11-09 13:38 UTC (permalink / raw)
To: gcc-help
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") ).
Many thanks for advance,
Despina.
___[ Pub ]____________________________________________________________
Envie de discuter gratuitement avec vos amis ?
Téléchargez Yahoo! Messenger http://yahoo.ifrance.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC / Coldfire / Elf format compliant with windows
2004-11-09 13:38 GCC / Coldfire / Elf format compliant with windows Despina
@ 2004-11-09 14:32 ` Nathan Sidwell
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Sidwell @ 2004-11-09 14:32 UTC (permalink / raw)
To: Despina; +Cc: gcc-help
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@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-09 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09 13:38 GCC / Coldfire / Elf format compliant with windows Despina
2004-11-09 14:32 ` Nathan Sidwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).