|Making the GCC compiled code work with another Debugger firstname.lastname@example.org (2005-05-09)|
|Re: Making the GCC compiled code work with another Debugger email@example.com (George Neuner) (2005-05-13)|
|Date:||9 May 2005 22:31:50 -0400|
|Keywords:||GCC, debug, question|
|Posted-Date:||09 May 2005 22:31:49 EDT|
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
If someone has tried anything similar, please let me know.
Return to the
Search the comp.compilers archives again.