[darwinbuild] Size of mach_kernel when using darwinbuild?
Kevin Van Vechten
kevin at opendarwin.org
Fri Nov 4 15:01:52 PST 2005
The Symbols version is at least 6 times bigger than the Roots version
(7,790,644 vs. 51,211,964).
The version in Roots is almost twice the size of the one installed on
your system because darwinbuild builds universal binaries, which have
both ppc and x86 code, whereas your system is likely ppc-only.
- Kevin
On Nov 4, 2005, at 1:57 PM, James Reynolds wrote:
> I used darwinbuild to build xnu-792.6.22 and it seems to me the
> file sizes are a bit high:
>
>
> ls -l Roots/xnu/xnu-792.6.22.root~1/mach_kernel
> -rw-r--r-- 1 root wheel 7790644 Nov 4 15:03 Roots/xnu/
> xnu-792.6.22.root~1/mach_kernel
>
> ls -l Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel
> -rw-r--r-- 1 root wheel 51211964 Nov 4 15:03 Symbols/xnu/
> xnu-792.6.22.sym~1/mach_kernel
>
> ls -l /mach_kernel
> -rw-r--r-- 1 root wheel 4330232 Oct 3 21:04 /mach_kernel
>
> How is it that the version in Roots is so much larger than the
> version with symbols?
>
> After mounting a case system file system with permissions on, I
> just ran these 3 commands (fluff removed):
>
> /usr/local/bin/darwinbuild -init 8F46
> /usr/local/bin/darwinbuild -fetch xnu
> /usr/local/bin/darwinbuild xnu
>
> Any ideas?
More information about the darwinbuild-dev
mailing list