Mail Archives: djgpp/1999/01/27/16:11:05
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 -