On Sat, Jun 06, 2009 at 08:40:39AM +0300, Kevin Wilson wrote: > Hello, > I know that using cross compiler is needed when you want to compile > for different platforms (for example, to build a module for ARM or PPC on intel > machine). > I did not mention it, but the machine I am building on is an Intel > x86_64 machine, and I want to build on it a 32 bit module - also for > Intel machine. > So I believe there should be a way to do it with some gcc flag. > > Any ideas ? Your gcc only support 64-bit. So you need a cross compiler to build 32 bit x86. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html