Help getting ROM and RAM report

Scott Ranville sranville@neweagle.net
Fri Sep 14 12:09:00 GMT 2001


Hello,

I am trying to use gcc to compile some code for the PowerPC 505. I have a
number of C files and would like to compile eeach of these and find out how
much ROM and RAM each of these use. I am starting with the command :

    gcc -c -g -b ppc -mcpu=505 -O2 file_name.c

I have not yet found a command that will give me a printout of the ROM and
RAM usage or how to create some other file such as a .map file that may
provide this information.

Any help would be appreciated.

Thanks,

Scott Ranville
R&D Consultant : Embedded Software Tools Specialist
New Eagle Software

Telephone: 734-822-7711
Fax: 801-457-9698
E-mail: sranville@neweagle.net
Web : www.neweagle.net

Tools and Services to Accelerate Model-Based Control Software Development



More information about the Gcc-help mailing list