www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/24/05:00:29

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
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
To: Paul Van Bellinghen <pvanbell AT gnn DOT com>
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                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019