Article View: gnu.gcc.help
Article #53501Re: Structure integrity
From: Ronald S H Khoo
Date: Tue, 05 Nov 1991 11:26
Date: Tue, 05 Nov 1991 11:26
18 lines
1316 bytes
1316 bytes
In article <1991Nov4.183356.13191@midway.uchicago.edu>
pom2@quads.uchicago.edu wrote:
> Can gcc aquire a compilation switch that preserves structures on
> machines where it is possible?
Microsoft C's #pragma pack() may do what you want. volume 23 of
comp.sources.misc contains a set of GCC patches used by XENIX users
from which you can extract the few patch hunks required to teach gcc
how to do Microsoft C's #pragma pack().
(Rumor has it that GCC version 2 has structure packing control support,
but since it's not out, you may prefer to take this more immediate route)
--
Ronald Khoo <ronald@robobar.co.uk> +44 81 991 1142 (O) +44 71 229 7741 (H)
Technical Details
Message-ID:
<9111051126.AA23603@robobar.Co.Uk>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!robobar.co.UK!ronaldReferences:
<1991Nov4.183356.13191@midway.uchicago.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,73580d9670e9e19 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-11-05 08:06:20 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!robobar.co.UK!ronald From: ronald@robobar.co.UK (Ronald S H Khoo) Newsgroups: gnu.gcc.help Subject: Re: Structure integrity Message-ID: <9111051126.AA23603@robobar.Co.Uk> Date: 5 Nov 91 11:26:07 GMT References: <1991Nov4.183356.13191@midway.uchicago.edu> Sender: daemon@cis.ohio-state.edu Distribution: gnu Organization: Robobar Ltd., Perivale, Middx., ENGLAND. Lines: 18