From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id C66E642F49 for ; Sun, 12 Feb 2023 22:25:48 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D746668BDD2; Mon, 13 Feb 2023 00:25:44 +0200 (EET) Received: from mail8.parnet.fi (mail8.parnet.fi [77.234.108.134]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A2961680741 for ; Mon, 13 Feb 2023 00:25:38 +0200 (EET) Received: from mail9.parnet.fi (mail9.parnet.fi [77.234.108.21]) by mail8.parnet.fi with ESMTP id 31CMPbIj008734-31CMPbIk008734 for ; Mon, 13 Feb 2023 00:25:37 +0200 Received: from foo.martin.st (host-97-187.parnet.fi [77.234.97.187]) by mail9.parnet.fi (Postfix) with ESMTPS id 1593DA1527 for ; Mon, 13 Feb 2023 00:25:36 +0200 (EET) Date: Mon, 13 Feb 2023 00:25:36 +0200 (EET) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: FFmpeg development discussions and patches In-Reply-To: Message-ID: <8bac6311-d03c-d20-f1f1-ecb3c5b937af@martin.st> References: <27182552-d0fb-fa0-d15-b969bdd09ada@martin.st> <4ecd356-f04b-afe0-6d17-ef9850d6df2@martin.st> <6b8c93af-db59-f05b-97c0-4f7a6a32a7b0@martin.st> MIME-Version: 1.0 X-FE-Policy-ID: 3:14:2:SYSTEM Subject: Re: [FFmpeg-devel] [PATCH] mswindres: Use '-' instead of '/' for rc.exe options X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Sat, 11 Feb 2023, Ziemowit Laski wrote: > Thanks for the detailed explanation. Now my head hurts. > > I guess by "native" you mean those apps that do not depend on MSYS/Cygwin > DLL functionality? All of the apps are native. Yeah, more or less. They use the regular win32 api just like MSVC based apps do. > So I can definitely understand the appeal of MinGW. But what about > MSYS? Is it some sort of copyright/GPL avoidance scheme? Not at all - it's entirely a technical thing. MSYS, which is a fork of cygwin, is an environment to provide a full POSIX (i.e. unix) environment on top of Windows, which involves a lot of trickery to make system calls like fork() work on top of a OS that doesn't provide that. MSYS apps generally don't use/see the win32 API at all (when building MSYS/Cygwin code, the '_WIN32' define isn't set), they believe they're running on top of any regular unix, more or less. GCC can run on plain win32 thanks to mingw, it doesn't use any fancy POSIX APIs, but e.g. bash doesn't run on mingw/win32 since it uses so many unix specific concepts that don't exist on win32. That is - it's "easier" (or more wisely spent effort) to just try to emulate unix concepts in a full emulation layer, than to port bash (and other similar tools) to work directly on win32. // Martin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".