Article View: gnu.gcc.help
Article #41582STRICT_ALIGNMENY macro on SPARC
From: Bart
Date: Wed, 13 Mar 1996 00:00
Date: Wed, 13 Mar 1996 00:00
9 lines
901 bytes
901 bytes
We are trying to port code which has data aligned on 16 bit to SUN SOLARIS with gcc 2.7.1. This results in BUS errors when we try to run the program. We can not find a command-line option to allow alignment on 16 (or 8) bit boundaries (although it exists for other processors). We tested the macro STRICT_ALIGNMENT which was defined to 1 when compiling the c-file which generated the error. The other sources where not recompiled. The problem did not change. Can somebody give any advice on how to solve this problem.
Technical Details
Message-ID:
<4i6t95$jcs@news.be.innet.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,b695c04fa25fcaad,start X-Google-Attributes: gid11318c,public From: bvh@acse.be (Bart) Subject: STRICT_ALIGNMENY macro on SPARC Date: 1996/03/13 Message-ID: <4i6t95$jcs@news.be.innet.net> X-Deja-AN: 142477178 organization: INnet NV (post doesn't reflect views of INnet NV) newsgroups: gnu.gcc.help