RISCOS.com

www.riscos.com Technical Support:
DDE (Desktop Development Environment)

 


ObjSize


ObjSize analyses one or more object or library files and returns the code-size, data-size and debug-size of each file.

The SetUp dialogue box

Clicking Select on the application icon or dragging the name of a file (if Auto Run is off) from a directory display to the icon brings up the SetUp dialogue box:

OBJSIZE-2.PNG

The Files field allows you to specify the name of one or more files to be processed (typed in or dragged from a directory display). These files must be ALF or AOF files.

The SetUp menu

Clicking Menu on the SetUp dialogue box displays the menu shown below.

OBJSIZE-3.PNG

For a description of the ObjSize Command line option see the chapter entitled Command line interface.

The Application menu

Clicking Menu on the ObjSize application icon gives the following options:

OBJSIZE-4.PNG

For a description of each option in the application menu see the chapter entitled General features.

Note that Auto Save is not available for this application, and that Auto Run is enabled by default.

Example output

The output of ObjSize appears in one of the standard non-interactive tool output windows. For more details of these see the chapter entitled Output.

The following window shows an example of the output from ObjSize:

OBJSIZE-5.PNG

The three object sizes displayed by ObjSize are:

code-size The size of the object code.
data-size The total size of all areas in the AOF file which have the attribute data or zero-Init.
debug-size The total size of all areas in the AOF file (compiled with the debug option set) which have the attribute debug.

If a library file is being analysed ObjSize displays the above three object sizes for each individual member of the library file and then displays the overall totals of these to provide a set of totals for the entire library.

Command line interface

For normal use you do not need to understand the syntax of the ObjSize command line, as it is automatically generated for you from the SetUp dialogue box settings. The Command Line syntax for ObjSize is:

ObjSize filename [filename...]

filename a valid pathname specifying an ALF or AOF file.

This edition Copyright © 3QD Developments Ltd 2015
Last Edit: Tue,03 Nov 2015