This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc Sparc alignment problems


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]