Revision: 611 http://trac.macosforge.org/projects/darwinbuild/changeset/611 Author: wsiegrist@apple.com Date: 2009-10-29 15:39:48 -0700 (Thu, 29 Oct 2009) Log Message: ----------- Update install instructions in README Modified Paths: -------------- trunk/README Modified: trunk/README =================================================================== --- trunk/README 2009-10-29 22:29:24 UTC (rev 610) +++ trunk/README 2009-10-29 22:39:48 UTC (rev 611) @@ -62,16 +62,18 @@ % port install darwinbuild Or, you can also install by checking out the source and building -darwinbuild yourself. The included Makefile will compile the tools and install -them into the location specified by the DESTDIR parameter. If the -DESTDIR parameter is not specified, the files will be installed into /usr/local. +darwinbuild yourself. The included Xcode project will compile the tools and install +them into the location specified by the PREFIX environment parameter. If the +PREFIX parameter is not specified, the files will be installed into /usr/local. -By default, darwinbuild will match the architectures of libSystem. If you want -to override this, set a list of -arch arguments in RC_CFLAGS. +By default, darwinbuild will build for x86_64 and i386. You can override this with +the ARCHS environment variable. - % make - % sudo make install +To build and install darwinbuild to the boot partition: + % cd <path to top of source> + % sudo xcodebuild install DSTROOT=/ + 2.1 Creating the Build Directory After installation, you must initialize the build directory using darwinbuild.