MIPS III support
I know the gcc that ships with Debian 3.0 for mips supports generating
mips III code. You just need to pass -mips3 to it. However, when you try
linking the app you get linker errors such as the following:
cobalt-03:/micro/people/cjp> cc -mips3 test.c
/usr/bin/ld: /tmp/cc3gx9Gc.o: ISA mismatch (-mips3) with previous
modules (-mips1)
Bad value: failed to merge target specific data of file /tmp/cc3gx9Gc.o
collect2: ld returned 1 exit status
It appears that you need to link against libraries that are also
compiled with -mips3. Do these exists, at least for the commonly used
ones like libc, libm, libpthreads, and libdl, and of course the various
crt libraries that are automatically linked in? BTW, I also want n32
calling conventions, which I believe is what you get by default when you
specify -mips3.
Chris Plummer
Reply to: