packed structure

bridged with qdn.public.qnxrtp.mips
Post Reply
Yanping Lu

packed structure

Post by Yanping Lu » Wed Nov 13, 2002 6:09 pm

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

Post Reply

Return to “qdn.public.qnxrtp.mips”