Message-ID: <34929540.231C7ABF@gmx.net> Date: Sat, 13 Dec 1997 15:01:36 +0100 From: Robert Hoehne MIME-Version: 1.0 To: Steve Parlet CC: DJGPP Mailing list Subject: Re: program listings References: <01bd0736$1d4dac60$214c5da6 AT sjparlet> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Precedence: bulk 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 * * Post: Am Berg 3, D-09573 Dittmannsdorf, Germany * * WWW: http://www.tu-chemnitz.de/~sho/rho * ******************************************************