This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
text/data segments in cygnus executables
- To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Subject: text/data segments in cygnus executables
- From: "Read, Gordon" <GRead@Broner.co.uk>
- Date: Thu, 5 Aug 1999 10:44:37 +0100
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@sourceware.cygnus.com