delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/27/16:11:05

Date: Wed, 27 Jan 1999 10:09:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: RHIDE review
In-Reply-To: <012d01be498d$c97a3b80$3aa46d86@robby.dittmannsdorf.de>
Message-ID: <Pine.SUN.3.91.990127100812.25202S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 26 Jan 1999, Robert Hoehne wrote:

> >9. Show size of data, and size of code.
> >   I liked that thing in IDE BC 3.1
> >   In project window I can see size of code, and size of data for each
> >   files in project.
> >   IMHO, it will looks nice in RHIDE.
> 
> This might be possible to implement, but there are many
> problems. The old BC 3.1 used only one object format where
> it knows, what the code and what the data is. RHIDE runs at
> first on DJGPP where the COFF object-file format is used
> and it runs also on Linux where ELF is used. For now I can't
> see any easy way to get the information from the object file.

How about ``popen ("size.exe foo.exe", "r")''?  (On Linux, drop the
.exe part, of course.)  This should work on any system, since `size' 
is a standard Unix utility.

- Raw text -


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