[darwinbuild] Size of mach_kernel when using darwinbuild?
Shantonu Sen
ssen at opendarwin.org
Fri Nov 4 15:01:19 PST 2005
You missed a decimal. The symbols version is 51MB, which is correct.
the Roots/ version is 7.8MB, which is also correct, for a fat (ppc
+i386) kernel.
Because there's code for both PowerPC and Intel, it's about twice as
large as the version on your running system in /
Shantonu
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?
>
> --
>
> Thanks,
>
> James Reynolds
> University of Utah
> Student Computing Labs
> james at scl.utah.edu
> 801-585-9811
> _______________________________________________
> darwinbuild mailing list
> darwinbuild at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/darwinbuild
More information about the darwinbuild-dev
mailing list