|GCC Struct layout firstname.lastname@example.org (Randall Hyde) (2002-04-19)|
|Re: GCC Struct layout email@example.com (2002-04-19)|
|Re: GCC Struct layout firstname.lastname@example.org (Jim Wilson) (2002-04-19)|
|From:||Jim Wilson <email@example.com>|
|Date:||19 Apr 2002 22:54:37 -0400|
|Organization:||Red Hat Inc.|
|Keywords:||C, GCC, architecture|
|Posted-Date:||19 Apr 2002 22:54:37 EDT|
Structure layout is very target dependent. It isn't practical for GCC
to document this, as there are so many different variations for so
many targets. GCC does however follow established practice, so if
there is documentation available for your target, then look for
structure layout info there.
If the target is x86-linux, then try looking at the SVR4 x86 psABI.
Ultimately, this information should be in the Linux Standards Base,
but this document isn't complete yet. It does have a useful list of
related documents though, including a pointer to the above link.
Other x86 targets may use different structure layout conventions. See
the appropriate documentation for your target.
Return to the
Search the comp.compilers archives again.