<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Feb 12, 2017, at 1:08 PM, R. Matthew Emerson <<a href="mailto:rme@clozure.com" class="">rme@clozure.com</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">On the other hand, I have not figured out a way to do a similar thing with lisp-kernel/darwinx8632/Makefile.  It therefore requires that the command-line tools be installed.  You can use "xcode-select --install" to do this.  The seemingly weird "no <sys/signal.h>" error is a symptom of this.<br class=""></blockquote><br class="">The problem here appears to be that <font face="Courier" style="font-size: 11px;" class="">lisp-kernel/darwinx8632/Makefile</font> is specifying “<font face="Courier" class=""><span style="font-size: 11px;" class="">-isysroot /</span></font>” which means “look for everything in /.” You shouldn’t specify an <font face="Courier" class=""><span style="font-size: 11px;" class="">-isysroot</span></font> at all when building for the host system, it shouldn’t be needed.<div class=""><br class=""></div><div class="">In fact, even when building for iOS (or another operating system) these days you shouldn’t need to specify an <font face="Courier" class=""><span style="font-size: 11px;" class="">-isysroot</span></font> with the Xcode tools. Instead you should be able to just invoke the compiler using “<font face="Courier" class=""><span style="font-size: 11px;" class="">xcrun -sdk iphoneos clang</span></font>” instead of just “<font face="Courier" class=""><span style="font-size: 11px;" class="">clang</span></font>” to invoke the compiler, and the compiler will be passed the correct <font face="Courier" class=""><span style="font-size: 11px;" class="">-isysroot</span></font> automatically.</div><div class=""><br class=""></div><div class="">The full set of changes I needed to successfully build on the latest macOS with the latest Xcode were:</div><div class=""><br class=""></div><div class="">- Remove the entire <font face="Courier" class=""><span style="font-size: 11px;" class="">SDKROOT=/</span></font> line</div><div class="">- Remove the use of <font face="Courier" class=""><span style="font-size: 11px;" class="">-isysroot $(SDKROOT)</span></font> from commands</div><div class="">- Change <font face="Courier" class=""><span style="font-size: 11px;" class="">OSEARLYLIBS</span></font> from <font face="Courier" class=""><span style="font-size: 11px;" class="">-lcrt1.o</span></font> to <font face="Courier" class=""><span style="font-size: 11px;" class="">-lcrt0.o</span></font></div><div class=""><br class=""></div><div class="">That was sufficient for me to run <font face="Courier" class=""><span style="font-size: 11px;" class="">./dx86cl --no-init --eval '(ccl:rebuild-ccl :full t)'</span></font> and then start the built <font face="Courier" class=""><span style="font-size: 11px;" class="">dx86cl</span></font> with QuickLisp installed.</div><div class=""><br class=""></div><div class="">  -- Chris</div><div class=""><br class=""></div></body></html>