From owner-freebsd-current@freebsd.org Wed Dec 7 18:45:44 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6A5EC6CF19 for ; Wed, 7 Dec 2016 18:45:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7778989 for ; Wed, 7 Dec 2016 18:45:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x243.google.com with SMTP id r94so15262146ioe.1 for ; Wed, 07 Dec 2016 10:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=kCoLlnL/hyqnn/DehKSktRtRg8u2pwGFffaphJIBLSg=; b=ITHEDsVpWjOfSf/TNXObmcfXyGcmq6xjGHXFXOAA1M2FIdJEt33zn8SsOhQ0bb/aah scPY+asUT41cADT8Mmy/ZsA96AEJ4OJIsULc+i9rxY44P9OkUxhCnyhUfqliYyUQGrbZ 4SF0FskHGxkksIvwcfXKaD5oKnxvFFeNRa8N1q+cDrRJUTUtZrILcQu3Idrd9RoJZkIT 8vpTF/q+Ol8Su6Q66vhm/i4TNo4v1Eyg05tpvakhiIuda7vNaee0X2vFaTS0hJJGYibM cDEr/AciccqevqerAQ5toLQgdZxwZEVMNfMMLVCGRKFDmMUOot5Ozi/FOvwRtBpEWrhd cNCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=kCoLlnL/hyqnn/DehKSktRtRg8u2pwGFffaphJIBLSg=; b=nMunvABgdH25Yy/uyw0yWltVDr+i+4XnXuY6mb+S52coHoCSuuIS6YvQKbONAve0no ZTXVgI1grTNXv3/0rDDlY7NL6h0FLl7jFT92vwFnkma1xVZf2ZhexF78n2FOTh9CZrHs aNfqU8qJhrsWq6AkFTCM46rYtZW7gcHNuGIeHlk1NcZa6p/e1lrsszEJsCeMX3CVheJc TbUraMUFRX8H4K5glRSlJGgAMCXLfo0Ud5auHLu0qVn+HjNsKd3sfLuYoYPKFXvd6hHg WR49EFY0FpZw6Z8eJHEImHNwysCwW8Td86FdQl30cv7LHrlS6C5MxiE15KxqSB5kcXl6 ToCA== X-Gm-Message-State: AKaTC02u16vT9kMtx6NoZzumlTAcsCvVDndRa8yo2+DzdjRsCnxVa/vqRuq7X++BC1xXxyqVFVrVrA5HCX49dQ== X-Received: by 10.36.58.16 with SMTP id m16mr3408348itm.85.1481136344099; Wed, 07 Dec 2016 10:45:44 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.31.199 with HTTP; Wed, 7 Dec 2016 10:45:43 -0800 (PST) X-Originating-IP: [69.53.245.200] In-Reply-To: <20161205193106.GA72310@neutralgood.org> References: <20161205161541.M51118@i805.com.br> <20161205174757.M9255@i805.com.br> <20161205193106.GA72310@neutralgood.org> From: Warner Losh Date: Wed, 7 Dec 2016 11:45:43 -0700 X-Google-Sender-Auth: 9BBjSMopwE-iHmE1jWtwuST8Z0c Message-ID: Subject: Re: Is there possible run a MacOS X binary To: "Kevin P. Neal" Cc: Nilton Jose Rizzo , FreeBSD Current , FreeBSD Ports Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 18:45:45 -0000 On Mon, Dec 5, 2016 at 12:31 PM, Kevin P. Neal wrote: > On Mon, Dec 05, 2016 at 02:49:07PM -0300, Nilton Jose Rizzo wrote: >> >> >> Sorry for cross posting (-current and -ports) >> >> >> Is there any emulator like linuxator to run Mac OS X binaries, or >> is ther any licensing problem? > > It may be possible to make an emulator for Darwin (the OS that Mac OS sits > on top of), but an emulator for Mac OS would probably require a legal copy > of Mac OS. > > So, no, there is no Mac OS emulator for FreeBSD. And I'd be surprised if > it ever happened. NetBSD has (or had) a macho image activator, which is the first step in this process. But Kevin is right that most of the functionality of MacOS isn't in the kernel, and you'd need a copy of MacOS to run it in emulation. Plus there's a lot of Mach code that MacOS depends on that has no simple counterparts in FreeBSD, and that would be a lot of work to make happen. It's one of the things that's a barrier to entry for a simple, straight forward launchd port, for example. Warner