From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Guix on macOS Date: Fri, 27 Oct 2017 09:56:55 +0200 Message-ID: <1032b44c-cbeb-4c79-301f-b6cf1b51bfbb@crazy-compilers.com> References: <87bmldavre.fsf@gmail.com> <87efq8pwrf.fsf@gnu.org> <87mv4viknx.fsf@gmail.com> <87she5kz6i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7zVm-0000dB-Ln for guix-devel@gnu.org; Fri, 27 Oct 2017 03:57:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7zVj-0004Om-IU for guix-devel@gnu.org; Fri, 27 Oct 2017 03:57:02 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:33382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7zVj-0004M2-Ck for guix-devel@gnu.org; Fri, 27 Oct 2017 03:56:59 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3yNbn55W4vz1qwdf for ; Fri, 27 Oct 2017 09:56:56 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3yNbn45lxmz1qsM9 for ; Fri, 27 Oct 2017 09:56:56 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id iOGUULJmACSl for ; Fri, 27 Oct 2017 09:56:55 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-93-104-93-94.dynamic.mnet-online.de [93.104.93.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Fri, 27 Oct 2017 09:56:55 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id D9F19601A1 for ; Fri, 27 Oct 2017 09:56:55 +0200 (CEST) In-Reply-To: <87she5kz6i.fsf@gmail.com> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Am 27.10.2017 um 06:11 schrieb Chris Marusich: > * Nix's Darwin bootstrap tools are maintained in Nix, but they aren't > cross-compiled (e.g., from x86_64-linux). They're built from a > previous generation of the stdenv for Darwin. I suspect, but do not > know for sure, that originally the bootstrap binaries were compiled > using the usual impure and non-free macOS toolchain. For cross-building the PyInstaller bootloader we are using the ideas based on OSXcross [1]. Basically we are extracting parts of the SDK from Xcode and using this cross-build the bootloader. The SDK as a whole must only be used on a Apple device, but parts of the SDK *may* not have this limitation.[*] If you are interested who we do this, plase have a look at [2] and [3]. [*] I did no check the license in detail. If Apple stepps up and complains, we'll simply stop delivering a pre-compiled bootloader. [1] https://github.com/tpoechtrager//osxcross /[2] https://github.com/pyinstaller/pyinstaller/blob/v3.3/doc/bootloader-build= ing.rst [3] https://github.com/pyinstaller/pyinstaller/blob/v3.3/bootloader/Vagrantfi= le#L71 // --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |