Related articles |
---|
Making the GCC compiled code work with another Debugger manish.baj@gmail.com (2005-05-09) |
Re: Making the GCC compiled code work with another Debugger gneuner2@comcast.net (George Neuner) (2005-05-13) |
From: | manish.baj@gmail.com |
Newsgroups: | comp.compilers,gnu.gcc.help |
Date: | 9 May 2005 22:31:50 -0400 |
Organization: | http://groups.google.com |
Keywords: | GCC, debug, question |
Posted-Date: | 09 May 2005 22:31:49 EDT |
Hi,
I am using the cross compiler of gcc version 2.95.3 to compile code for
ARM9 target. Unfortunately, I dont have the simulator on linux (the
machine which I use to run gcc). I do have a simulator on windows - AXD
that comes with codewarrior ARM developer suite. I would like to to run
the executable generated by gcc on this simulator.
The problem is that when I run the code in AXD debugger, it encounters
invalid instructions and simply doesnt work. I feel this is because of
the fact that:
1) There is debug info inserted by GCC which is not understood by AXD
2) The glibc is being used which is not liked by AXD. The documentation
of compiler of codewarrior has following comment: "If you write an
application in C, you must link it with the C library even if it makes
no direct use of C library functions. The C library contains compiler
helper functions and initialization code."
Does this mean that there is no way of running the gcc compiled code on
AXD?
If someone has tried anything similar, please let me know.
Regards
baj
Return to the
comp.compilers page.
Search the
comp.compilers archives again.