Frank Loeffler wrote:
export PATH=~/mips/crossdev/build/bin:$PATH$ ./configure --prefix=~/mips/crossdev/build/ --target=mips64-linux --with-newlib --enable-threads
Did you build binutils with the same prefix and target? You should probablyalso have --with-gnu-as --with-gnu-ld here, it probably defaults to some mips
assembler. I have just compiled a mips64-linux toolchain with the attached makefiles (you just need to say it's for mips64-linux in Makefile.defs). However it gives a lot of warnings when you try to compile 64 bit and it seems to be configured for 32 bit despite the 64 in the name. To get 64 bit longs you need to give -mabi=64 on the commandline. /Brian
Attachment:
gnu-toolchain-example.tar.gz
Description: application/gzip