* Structure alignment probs in gcc between Alpha & Intel
@ 1999-01-27 5:00 Peter Onion
0 siblings, 0 replies; only message in thread
From: Peter Onion @ 1999-01-27 5:00 UTC (permalink / raw)
I'm having a problem porting some code from Intel to Alpha.
There are two parts to the code (kernel & user). The problem
is that the kernel and user parts use differnet structure definitions
to access the data that are passed between them, and while gcc on intel
produces the same memory layout for these different structres on the alpha
gcc aligns things differently thus causing the fields to be accessed
at the wrong offsets in the buffers.
I seem to remember someone telling me that there is a switch or directive
for gcc that stops this problem, but I can't remember who told me (or what they
told me :-( ).
Thanks
Peter Onion.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-01-27 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-27 5:00 Structure alignment probs in gcc between Alpha & Intel Peter Onion
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox