NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compiling 5.1.2 kernel for amd64 on i386?



On 27 March 2012 23:00, Malcolm Herbert <mjch%mjch.net@localhost> wrote:
> What's the best way to get a 5.1.2 amd64 kernel compiled when I only
> have an i386 host to work on?
>
> I've copied and modified the kernel config within
> sys/arch/amd64/conf/DEIMOS however after I run the config script and try
> build.sh with the following:
>
>  ./build.sh -u -a amd64 kernel=DEIMOS
>
> the build.sh script complains of an unknown target MACHINE_ARCH: amd64
>
> How can I kick this off? The target host is not capable of running a
> compile as it's quite resource-starved.

I build full amd64 releases under i386 regularly -

./build.sh -m amd64 -j4 -x -u -O /usr/obj/usr-current/amd64 -T
/usr/obj/usr-current/tools -D /usr/obj/usr-current/destdir/amd64 -R
/usr/obj/usr-current/releasedir -X /usr/xsrc release

does the job for me.
>
> Regards,
> Malcolm
>
> --
> Malcolm Herbert                                This brain intentionally
> mjch%mjch.net@localhost                                                left 
> blank

Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index