See arch/mips/Makefile part of my minimal patchset: http://www.selfsoft.com/progs/mips/patches/ in shor, to get things to work, one needs to play with -mabi=o64/-64/-32 options. On Sun, Dec 28, 2003 at 08:54:34PM +0100, Guido Guenther wrote: > Hi, > could anybody explain to me how one builds 2.6 (current CVS) 64bit > kernel resulting in a 32bit ELF executable with a current (gcc >= 3.3, > bintuils >= 2.14.90.0.5) toolchain. > Major showstopper is that -Wa,-mabi=o64 doesn't work anymore, but > -Wa,-mabi=32 -Wa,-mgp64 doesn't either since the assembler doesn't > accept it. > Thanks for any help, > -- Guido >