Re: compiling netbsd-3.0 kernel source

Lubomir Kundrak <[email protected]>
Newsgroups gmane.os.netbsd.help
Organization Red Hat Inc.
Message-ID <1162993975.8737.1.camel@pluto>
Hi Prasanta!

On St, 2006-11-08 at 16:51 +0530, Prasanta Sadhukhan wrote:
> Hi,
> 
> I have taken netbsd 3.0 source from 
> ftp://ftp.netbsd.org/pub/NetBSD-archive/NetBSD-3.0/source/sets/syssrc.tgz
> and downloaded in RHLinux9.0 kernel 2.6.13
> 
> I want to compile the kernel from the source.
> According to
> http://netbsd.org/Documentation/kernel/#downloading_kernel_source
> I need to use "build.sh kernel=<MYCONF>" to build.
> I copied usr/src/sys/arch/i386/conf/GENERIC as MYCONF
> but I could not find build.sh in usr/src
> 
> Can anyone tell me how can I compile this 3.0 kernel
> source?

In case you cross-compile, you need all *.tgz files, and you'll find
build.sh in top level. It is because you need to build the whole
tool-chain. I do not know why did you choose to crosscompile on Red Hat
Linux, but I recommend you to do a native build on NetBSD instead.

> Thx in advance
> Regards
> Prasanta
> 

Best Regards,
-- 
Lubomir Kundrak (Red Hat Security Response Team)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.