🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51346

gcc DG/UX AVIION - Alignment?

#51346
From: John Bongiovanni
Date: Mon, 24 May 1993 04:38
24 lines
1651 bytes
I'm using the gcc that comes as part of DG/UX. "gcc -v" puts the
following line on stderr

gcc version 2.2.2 (88open OCS/BCS, DG-2.2.3, Jun 30 1992)

I have a library (CodeBase portability model) whose documentation says it
has more capabilities with 2-byte alignment than 4-byte alignment. It
doesn't explain what it means by alignment, but I assume it has to
do with packing structs and where the compiler actually puts
shorts and longs in memory. The man page on gcc (the only documentation
on gcc I have) doesn't talk much about alignment. It only describes
a "cast_align" warning, which doesn't give me much information to
go on.

So can anyone describe the alignment rules used by this version
of gcc? And if anybody can tell me anything specfic about CodeBase
portability model under DG/UX gcc, I would appreciate it.

Please respond by email. Thanks.

-- 
John Bongiovanni, Systems Analyst, Orbital Engine Company, Perth, Australia
oecjtb@oec4.orbital.dialix.oz.au, bongo@alumni.caltech.edu
Opinions expressed are my own and not those of my organisation.
Technical Details
Message-ID: <1993May24.043813.25708@oec4.orbital.dialix.oz.au>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!munnari.oz.au!uniwa!DIALix!oec4!oecjtb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e703e4e7c4d74218,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-23 23:15:43 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!munnari.oz.au!uniwa!DIALix!oec4!oecjtb
From: oecjtb@oec4.orbital.dialix.oz.au (John Bongiovanni)
Subject: gcc DG/UX AVIION - Alignment?
Message-ID: <1993May24.043813.25708@oec4.orbital.dialix.oz.au>
Date: Mon, 24 May 93 04:38:13 GMT
Organization: Orbital Engine Company
Lines: 24