From: Monteleone <monteleone@clt.enet.dec.com>
Subject: Re: Alpha C++ Compiler, Please help!
Date: 1997/02/06 [thread overview]
Message-ID: <32FA0032.41C6@clt.enet.dec.com> (raw)
In-Reply-To: 01bc1368$301636e0$0d70c697@redix
Pen Chiang wrote:
>
> PLEASE...
>
> I am trying to port a program from AIX to Alpha UNIX using using Alpha C++
> Version 5.1. The compilation and link seem to be ok, but when exected I
> keep on getting the statements "Unaligned Access pid ...". What flag should
> I use during the compiling process to supress this messages.
>
> In version 5.5, I used the flag "-misalign" to supress the "Unaligned
> statement, but what should I use in the Version 5.1 environment.
>
> THANKS,
> Pen
The C++ V5.1 compiler did not support the -misalign switch. There is
no switch available with V5.5. The use of the -misalign switch is not
recommended at any rate because of the performance degradation, which is
most often, quite extensive.
In all likelyhood, you are seeing unaligned accesses because of
a problem in the source code which should be corrected there.
There is a FAQ which addresses this issue directly:
http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/dunix/unalign.html
Again, the recommended solution to this problem is to track down the
problem and modify the source, as described in the FAQ. There are other
ways to get around this situation using "uac" (also described in the
FAQ), but this approach is only recommended as a fall back.
Bob
next prev parent reply other threads:[~1997-02-06 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-05 5:00 Alpha C++ Compiler, Please help! Pen Chiang
1997-02-06 5:00 ` Monteleone [this message]
1997-02-07 5:00 ` Chris Darling
1997-02-07 5:00 ` Don Dossa
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox