[ECOS] How to generate map file

Gary Thomas gthomas@redhat.com
Mon May 20 07:05:00 GMT 2002


On Mon, 2002-05-20 at 07:54, Deli Geng (David) wrote:
> Are you sure? It seems that function disappeared from CT2. At least I didn't
> find it last time when I was using CT2.
> 

Version 2 of the ConfigTool does not have the Memory Layout Tool (MLT)
functionality (we intend to provide that separately, but it's not ready 
yet).  The MLT will only give you an idea of the memory layout in 
general.  If you want to see how your application actually is laid out 
in memory, use the "generate memory map" options to the link step when
building.  Add these options to the final command (the one which builds
the eCos application):
  -Wl,-Map -Wl,ecos.map
This will generate a very detailed memory map in the file "ecos.map"

> regards
> 
> ----- Original Message -----
> From: "Jose Souto" <souto@contronics.com>
> To: <ecos-discuss@sources.redhat.com>
> Sent: Monday, May 20, 2002 2:27 PM
> Subject: Re: [ECOS] How to generate map file
> 
> 
> > I guess you should use the eCos Configuration Tool.
> > The memory layout you will see as soon as you run it
> >
> > Regards,
> > Jose Luiz
> >
> > peter_ku wrote:
> > >
> > > Hi
> > >
> > > My environment is win2000. and I build a simple example.
> > > I want to generate a map file, then I can check the memory layout.
> > > what is the parameter should I add in the gcc command line?
> > > Anyone can give me a hand?
> > >
> > > Thanks a lot.
> > >
> > > Peter
> >
> > --
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> >
> >
> >
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list