[darwinbuild-dev] From scratch
aladin at puredarwin.org
Wed Dec 2 13:55:17 PST 2009
You're facing "the chicken or the egg problem".
A simple example to illustrate is:
you want to compile a compiler version 2 with a compiler version 1.
Then when the version 2 has been compiled, you will use it to compile
the compiler version 2.
This is why you need to load some binaryroots (prebuild) in order to
be able to build something inside your buildchroot. Then (if you are
lucky ;)), you can rebuild the binaryroots you took to be able to
build something and (re)load them.
There is no "Darwin from scratch" manual from what I know.
On Wed, Dec 2, 2009 at 8:02 AM, Frank J. R. Hanstick <trog24 at comcast.net> wrote:
> Is it possible to build from scratch via darwinbuild using the
> existing system configuration rather than any prebuilds? I notice that the
> prebuilds still get loaded and used.
> On Nov 14, 2009, at 5:06 AM, Aladin wrote:
>> After having properly initialized your darwinbuild Buildroot, fetched
>> and loaded all the available (and already built) binaryroots into via:
>> for X in $(darwinxref version '*' | cut -f 1 -d '-'); do darwinbuild
>> -load $X; done
>> Then, you can try to build "everything" from scratch with:
>> for X in $(darwinxref version '*' | cut -f 1 -d '-'); do darwinbuild $X;
>> Finally, you can (package and) load what you have successfully build
>> and redo the previous steps after patching projects which fail to
>> It is also nice to report/send issues and your patches to
>> On Wed, Nov 11, 2009 at 1:05 AM, Frank J. R. Hanstick
>> <trog24 at comcast.net> wrote:
>>> I notice that the various root download tar files are prebuilt
>>> binaries. Is there a way to down load the sources and build everything
>>> scratch using darwinbuild?
>>> Frank J. R. Hanstick
>>> trog24 at comcast.net
>>> darwinbuild-dev mailing list
>>> darwinbuild-dev at lists.macosforge.org
> Frank J. R. Hanstick
> trog24 at comcast.net
More information about the darwinbuild-dev