issues with __SIZE_TYPE__ with gcc 3.1 build for mips

Ken Faiczak kfaiczak@SANDVINE.com
Fri Jul 5 09:32:00 GMT 2002


I am rebuilding 3.1 on cygwin for mips-wrs-vxworks
which is basically mips-elf

I changed mips/t-elf to build more multilib stuff
ie.
MULTILIB_OPTIONS = EL/EB mips3/mips4/mips64
MILTILIB_DIRNAMES = el eb mips3 mips4 mips64

since I want the mips compiler and the these libraries for our various
targets

Unfortunately it builds almost everything fine but for some reason
it can't build vec.cc for mips3 or mips4

basically __SIZE_TYPE__ is unsigned int (in cxxabi.h)
while size_t is long unsigned int (in vec.cc)
not sure why these are different
I see __SIZE_TYPE__ in the specs file and could probably change it
there is it is always unsigned int for my build 

it compiles fine for mips64 and the default (ie. no mips isa specified)

What is the correct way to build this?
I don't see why __SIZE_TYPE__ is used in one spot and size_t in another
anyway.

ken
kfaiczak@sandvine.com







More information about the Gcc-help mailing list