delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/05/05:48:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <BAB9541AAA7FD211844A00E0290C074C056BE5@BGPC66>
From: "Read, Gordon" <GRead AT Broner DOT co DOT uk>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: text/data segments in cygnus executables
Date: Thu, 5 Aug 1999 10:44:37 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)

Hi

I need to find out the addresses of the the various segments in the
currently running process (i.e. the start address of the text segment, data
segment and so on), these are the values reported by "size -A program.exe".

How do I do this from within a C program compiled using gcc under cygnus?

gcc -v:
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

uname -a:
CYGWIN_NT-4.0 BGPC61 20.1 (0.3/1/1) 1998-12-3 20:39:18 i586 unknown

Thanks
Gordon Read


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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