This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc Sparc alignment problems
- From: Dale Johannesen <dalej at apple dot com>
- To: Phil Prentice <philp dot cheer at btinternet dot com>
- Cc: gcc-help at gnu dot org, gcc at gnu dot org, Dale Johannesen <dalej at apple dot com>
- Date: Mon, 19 Apr 2004 13:58:52 -0700
- Subject: Re: gcc Sparc alignment problems
- References: <E1BFfWk-00004k-00@einsteinium.btinternet.com>
On Apr 19, 2004, at 12:38 PM, Phil Prentice wrote:
Does anyone know of a gcc compiler flag or option that would enable
us to
compile and successfully run 'C' code that will access mis-aligned
integers
or dioubles which runs on a SPARC workstation running Solaris.
The Sun compiler achieves this by means of the -misalign flag
If you are able to help, I would be grateful to hear from you
Many thanks.
The documentation lists -munaligned-doubles . I don't know how well it
works.