Subject: | |
From: | |
Reply To: | |
Date: | Wed, 26 Feb 2003 13:29:19 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> -----Original Message-----
> From: Gavin Scott [mailto:[log in to unmask]]
> Sent: Wednesday, February 26, 2003 11:42 AM
> To: [log in to unmask]
> Subject: Re: gcc
>
>
> Kevin asks:
> > I'm finally getting around to gcc/g++.
> >
> > Can I get a compile listing with variable mappings and
> structure offsets?
> > I wish to verify the alignment of my structures.
>
> I'm not aware of any options that will do this. The Gnu
> compilers aren't
> big on producing output from the compilers the way HP
> compilers have been.
>
> The -g option will embed all of the information about types
> and whatnot into
> the object file, but you would then need a debugger that
> knows about this
> information to get at it, and I don't think Mark has been
> able to get gdb
> fully working on MPE due to MPE kernel limitations. It might
> be possible to
> produce a version of gdb that could be used for the purpose
> of statically
> looking at the -g information if that would be useful.
>
> G.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
The -S option will give the assembly, which might help.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|