Re: Stupid Linux-on-FreeBSD question

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Mon, 06 Nov 2023 15:21:52 UTC
On Mon, Nov 6, 2023 at 5:35 PM George Mitchell <george+freebsd@m5p.com> wrote:
>
> For over twenty years, I've been able to avoid Linux pollution of my
> FreeBSD systems, but the recent availability of Widevine DRM support
> in Chromium caught my attention, and it looks like resistance may
> possibly be futile.  But in attempting to compile ports like
> www/foreign-cdm and emulators/linux_base-c7, I get the impression that
> I should have set linux_enable in my /etc/rc.conf even to compile them,
> let alone run them.  Is that correct?
>
> (A little more context: Yes, I am trying to avoid having a dedicated
> Linux USB drive to be able to stream Widevine content.)      -- George
>

For most linux ports - no, Linux binaries are just copied into
/compat/linux. But for foreign-cdm - yes, as at runs Linux gcc to
compile a Linux binary during the build.