tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd/mips64 uses a 32bit ABI.



Shoving this into NSS is probably the right fix. it's not so commonly
a problem now that I look at it, and will become messy if anyone changes
the ABI situation in some version.

#!/bin/sh

gcc -o compiletest.o -xc - <<COMPILETEST
int main() {
	return (sizeof(void*) == 8);
}
COMPILETEST

./compiletest.o

if [ $? -ne 0 ]; then
	USE_64=1
fi

rm compiletest.o


Home | Main Index | Thread Index | Old Index