Subject: Re: build only one program from tree
To: Marton Fabo <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 07/15/2003 15:51:15
On Tue, 15 Jul 2003, Marton Fabo wrote:
> Can anyone tell me how I am supposed to build only sbin/atactl from the
> current tree? I fetched the source tarballs from 07/15/2003, and
> extracted all of them on a 1.6.1 i386 machine. I then built a full
> toolchain, and tried to run the nbmake-i386 script in the sbin/atactl
> directory, which resulted in:
> # ../../tools/obj/tools.NetBSD-1.6.1-i386/bin/nbmake-i386
> nbmake: don't know how to make
> /usr/NetBSD-current/src/destdir.i386/usr/lib/crt0.o. Stop
> nbmake: stopped in /usr/NetBSD-current/src/sbin/atactl
> How can I make it, and avoid building the full release?
You'll need to build the libraries first.
nbmake-i386 obj do-distrib-dirs includes do-gnu-lib-libgcc do-lib-csu
nbmake-i386 do-lib-libc do-lib-libpthread do-lib do-gnu-lib do-ld.so
These make lines will do the intro part of a build, and should populate
the destdir with what you need.