RES: How to generate a map file

Fabrício de Novaes Kucinskis fabricio at dea.inpe.br
Mon May 2 18:24:05 UTC 2005


Jennifer, Jiri,


Thank you very much for your help, it worked!
Best regards,


Fabrício.




-----Mensagem original-----
De: Jiri Gaisler [mailto:jiri at gaisler.com]
Enviada em: sexta-feira, 29 de abril de 2005 18:55
Para: jennifer.averett at oarcorp.com; Fabrício de Novaes Kucinskis
Cc: rtems-users at rtems.com
Assunto: Re: How to generate a map file





For a complete map file, use the -M option during linking
(or -Xlinker -M if you link with sparc-rtems-gcc).

Jiri.



Jennifer Averett <jennifer.averett at oarcorp.com> said:

> Run object dump on the executable.
>
> >sparc-rtems-objdump -d hello.exe > hello.map
>
> Jennifer
>
> > Hi all,
> >
> >
> > We have a Tharsys SBC with ERC32 (chipset configuration) and we want to
> > run
> > RTEMS in it. I know that it's necessary to configure this board as the
> > BSP,
> > but first of all I would like to see a .map file of a "hello world"
> > application with the RTEMS binary.
> >
> > Unfortunatelly, I didn't find any compiler option to generate this
output.
> > Is it possible to generate a memory map of the program with
> > sparc-rtems-gcc?
> > If yes, how?
> >
> > Thanks in advance,
> >
> >
> >
> > Fabrício de Novaes Kucinskis - DEA / INPE
> > -----------------------------------------
> > Divisão de Eletrônica Aeroespacial
> > Instituto Nacional de Pesquisas Espaciais
> >
> >
>



--
-----------------------------------------------------------------------
Gaisler Research, 1:a Långgatan 19, 413 27 Göteborg, Sweden
email: jiri at gaisler.com, home page: http://www.gaisler.com
-----------------------------------------------------------------------






More information about the users mailing list