Re: Prob to compile Kernel on mpc860.
flat view
From: Tom Rini <hidden>
Date: 2003-11-10 20:45:27
On Thu, Oct 30, 2003 at 05:16:29PM +0100, Wolfgang Denk wrote:
Dear Christophe, in message [ref] you wrote:quoted
prob 1 : I am trying to compile the linuxppc_2_4_devel_2.4_20-2002_12_04 from Denx. As I need debug, I replace -O2 by -g in the Makefile. The kernel doesn't link anymore :[You cannot compile the Linux kernel without optimization, as then no inlining of functions will be done. Use "-Os -g".quoted
prob 2 : Using linux2.4.22 from kernel.org. I apply the patch for powerpc the kernel doesn't compile. Prob with stdarg.h that doesn't exist ( in sched.c )Try this patch:
[snip] Or if you select BDI/KGDB/XMON, you can also pick CONFIG_MORE_COMPILE_OPTIONS and add in -g (or put -Os -g and that will override the -O2 that preceeds it). -- Tom Rini http://gate.crashing.org/~trini/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/