Mail Archives: djgpp/1997/12/13/13:39:37
Steve Parlet schrieb:
>
> addresses. How can I get the compiler to spit out listings with absolute
> addresses for my debugging purposes?
This will not be possible, since the absolute adresses are unknown
to the compiler. Compiling and linking are two distinct tasks and
the absolute adresses are known _ONLY_ when linking (otherwise
we won´t need a linker :-)
The only solution for you would be to tell the linker to
output a linker map-file, where all the absolut adresses of
your functions are listed and then writing a program, which
adjusts the realtive addresses in your assembler listings by
simply adding the start address of each function to its realive
ones.
Robert
--
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -