From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp and list files Date: Thu, 24 Oct 1996 09:31:42 +0200 Organization: TU Chemnitz-Zwickau Lines: 20 Message-ID: <326F1B5E.44DB@Mathematik.tu-chemnitz.de> References: <54jlbd$glv AT news-e2d DOT gnn DOT com> NNTP-Posting-Host: tantalus-e.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Paul Van Bellinghen To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Paul Van Bellinghen wrote: > > target computer and so I can't actually run the program. How can I > get a list file or memory map? Add the `-Map mapfile' switch to the linker. If you link your program with gcc use the following syntax: gcc -o foo foo.o -Xlinker -Map -Xlinker mapfile and you will get the mapfile with all the information you need (I think) Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************