On Thu, 2003-09-18 at 14:27, Daniel Jacobowitz wrote: > I'm sure this has been discussed already... > > The Linux kernel currently uses among other things, -Wa,-32,-mgp64. The > point is to use 32-bit ELF and 64-bit instructions. But nowadays binutils > requires that the ABI explicitly match the width of GP registers. > > Can gas still do ELF32 in with 64-bit registers? If so, what the heck is > the command-line magic? Discussed on irc :) mips-linux-gcc -mabi=32 -march=64bitarch is my suggestion. otherwise, -mabi=o64 is o32 extended to 64-bit registers. -eric -- Eric Christopher <echristo@redhat.com>