------- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-12 06:58 ------- if (TARGET_BIG_ENDIAN) \ { \ builtin_define_std ("MIPSEB"); \ builtin_define ("_MIPSEB"); \ } \ else \ { \ builtin_define_std ("MIPSEL"); \ builtin_define ("_MIPSEL"); \ }
%{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ meb Target Report RejectNegative Mask(BIG_ENDIAN) Use big-endian byte order mel Target Report RejectNegative InverseMask(BIG_ENDIAN, LITTLE_ENDIAN) Use little-endian byte order It looks to me this should work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413