On 8/9/06, Mohapatra, Hemant <Hemant.Mohapatra@xxxxxxx> wrote:
> -----Original Message----- > From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies- > Subject: setting up a cross compilation environment in x86_64 > IA32 targets. Is there any easy way of doing it (short of kegel's > cross tool and compiling gcc 32bit version)? Gcc -m32/-m64 foobar.c
Hm...I need to set up a cross compilation environment for compiling the kernel, along with some external modules and applications. I need a full fledged tool chain, rather than gcc's ability to create 32/64 bit executable. I have not tested passing CFLAGS= to the kernel command line. But when I did it, it was a failure. Moreover, I would have to pass LDFLAGS...etc which can be avoided if we have a full tool chain. Anyway, I received help from Randy Dunlap, it is here.. http://developer.osdl.org/dev/plm/cross_compile/ Thanks for help, regards, Om. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/