gcc Sparc alignment problems

Dale Johannesen dalej@apple.com
Mon Apr 19 21:03:00 GMT 2004


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.



More information about the Gcc-help mailing list