zhangyubaka
zhangyubaka
仍然会 https://gist.github.com/zhangyubaka/3746dc06e1d385a85b8793472bc05c70
@langyanduan 发现了,gist 已经更新。
At last, I’ve managed to get a static libc and static libsystem_kernel(for syscall) from apple opensource ,but some symbols are still missing,like write nocancel
@ylluminatious Yes, in order to compile you need follow instructions for xnu kernel.
@ylluminarious Sorry didn’t see your edition :< The libsystem_kernel source is in xnu tree, https://opensource.apple.com/source/xnu/xnu-4570.1.46/libsyscall/
Yes, since most libs are missing their static version
@ylluminarious Ah that post was just some notes for my self… I suggest you take a look at https://github.com/PureDarwin , they have a lot tutorials
@ylluminarious And don’t forget to keep a copy of your original macosx.sdk :>