Prob to compile Kernel on mpc860.
trini at kernel.crashing.org
Tue Nov 11 07:45:27 EST 2003
On Thu, Oct 30, 2003 at 05:16:29PM +0100, Wolfgang Denk wrote:
> Dear Christophe,
> in message <66CE949D18BCB249ABE8D9AF48C4F1CE777849 at helios.clb.tcfr.thales> you wrote:
> > 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".
> > 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:
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).
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev