Date: Wed, 27 Jan 1999 10:09:55 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Robert Hoehne cc: djgpp Subject: Re: RHIDE review In-Reply-To: <012d01be498d$c97a3b80$3aa46d86@robby.dittmannsdorf.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.