[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Fwd: compiling busybox for 2.4 kernel
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2008-05-30 21:55:53
Message-ID: 200805302355.53665.vda.linux () googlemail ! com
[Download RAW message or body]

On Wednesday 28 May 2008 21:42, Tilman Glotzner wrote:
> I have several kernels source in /usr/src. My host machine is running a
> 2.6.18-gentoo kernel.
> I trying to compile busybox for a 2.4.36.3 kernel living in
> /usr/src/linux-2.4.36.3 for an embedded x86 target by setting the symlink
> linux to linux-2.4.36.3.
> 
> Doing a "file" on the busybox executable reveals that it is  always compiled
> for GNU/Linux 2.6.9. A 2.6.9. kernel however does not live on my machine.
> 
> Is there an option that allows me to tell the build chain where to look for
> the linux kernel ?

The kernel headers usually form the part of the toolchain, specifically
part of libc. I'd create a new toolchain for the target instead of trying
to replace kernel headers in existiong one. That can be difficult
to do correctly.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic