packed structure

Hi all,

There is an issue associated with the unaligned data accesses when
porting from the
Intel based code to MIPS. gcc MIPS has a compiling option
“-fpack-struct” to solve
this problem. What we found was ntomips-gcc supports this feature while
ntomips-g++
does not. On the other hand, gcc & g++ under Linux both have this packed

struct supported.

We are wondering why this feature is not in the ntomips-g++? Is
there a
workaround?

Thanks,
Yanping Lu
(408)922-7121