Re: gcc

Kurt Garloff (kurt@garloff.de)
Wed, 5 Sep 2001 00:08:44 +0200


--cxfMsoqvp1jUizWj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 05, 2001 at 09:04:01AM +1200, David Rundle wrote:
> hi i need help i have a data struct that matchs some hardwear but=20
> gcc is alignin it this meins it is out of sync whit the hardwear=20
> like=20
> char is 2 bytes=20
> long double is 12 bytes=20
> will thats what gcc thinks=20
>=20
> so i need to tell gcc not to align the data struct=20
>=20
> may be like=20

__attribute__((packed))

Regards,
--=20
Kurt Garloff <kurt@garloff.de> [Eindhoven, NL]
Physics: Plasma simulations <K.Garloff@Phys.TUE.NL> [TU Eindhoven, NL]
Linux: SCSI, Security <garloff@suse.de> [SuSE Nuernberg, DE]
(See mail header or public key servers for PGP2 and GPG public keys.)

--cxfMsoqvp1jUizWj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7lVDsxmLh6hyYd04RAqDWAJ0SCzvhlNfFSjaJx1RHUfcUNd4geACgupcR
JbrndmmybkOsJIXQPLVvdSY=
=RiQg
-----END PGP SIGNATURE-----

--cxfMsoqvp1jUizWj--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/