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

Re: question cross-compiler



Brian Murphy wrote:


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.

Do you want to compile user space programs or kernels with this toolchain?
Right now I don't think you can do either. A 64 bit userland is not supported
for mips AFAIK and this toolchain I have been told will not compile the
kernel - see linux-mips.org where they use (a very old) egcs 1.1.2.

/Brian




Reply to: