On Tue, Sep 1, 2015 at 2:30 PM, minux <
mi...@golang.org> wrote:
> I think we can treat it the same as how we treat OS X 10.6. Leave the
> code in, but don't maintain it anymore.
I agree with this philosophy, except where it gets in the way of maintaining
the other architectures.
For example, I'm trying to fix up some weirdness around the constant
SYS___SYSCALL, which was renamed to SYS_SYCALL in OS X 10.10. For all of the
modern architectures I can just regenerate the code and get the new constant.
But if 386 hangs around, I need to play around with build tags and file names
to get the equivalent of "darwin_everything_but_386.go", making the package
even more confusing than it already is.
I wouldn't argue this point at all except that the package is almost entirely
redundant with package syscall, which would still be around for 386, especially
for old versions of the OS.
> Yes, darwin/arm is for 32-bit iOS devices. As not all iDevices are 64-bit
> capable,
> I think we should still support darwin/arm for a little longer. We can stop
> maintaining
> it once Apple abandons 32-bit iDevices officially.
>
> To iOS SDK should contain headers for both darwin/arm and darwin/arm64
> (actually
> they are using the same copy of headers), and clang takes -arch parameter to
> signify which platform you're targeting.
Thanks. Can you tell me exactly how to invoke mkall.sh for darwin/arm, which
you presumably did for commit 785372d? I can't make it work.