Re: question cross-compiler
Brian Murphy wrote:
> 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
> for mips AFAIK
64 bit support for glibc is about to go in upstream CVS, so this may
> 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.
The reason for the use of egcs 1.1.2 is not the incapability of newer
compilers. The MIPS kernel maintainer prefers it due to higher compilation
speed, and works around its bugs.