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 ABBE045661 for ; Thu, 9 Feb 2023 21:59:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AE1AA68BCF2; Thu, 9 Feb 2023 23:59:25 +0200 (EET) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 67EDC68BB81 for ; Thu, 9 Feb 2023 23:59:19 +0200 (EET) Received: by mail-lf1-f41.google.com with SMTP id x40so5185762lfu.12 for ; Thu, 09 Feb 2023 13:59:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=C9BAH/SWAOtWLeHYnFPl2Bqgey0i5ozP72grR9eHJmo=; b=YNdyxr/sThis1kWPgIPz8Ir46D0jW4ArCDdCJQpDxuw5cd7MPKV9PZmG+p2+xzNK7w Kd7ni77f8o26uIi2kOtRpssv2G2Wf4MkHuy6KSgi5Lsj/wItWmHqB+zchIUKZRzp7+4z HsvoDs80RzO6Mdgq3uJ/7nUZ1ws6HwTT2qVJlAqLD9S/bJmyDBzVzgJxK1WlaRN9tTz0 sredJEp56WAE+pvR3FFc6eKcH6wqS+TNftiZt7Ru++luE3L/anUQqUeydNt+62uNl9Yj kw1ppMZM77XwBDJ+E4GVkq2e4pEaBVVycszm590q8NHtcR5eSSRWJhGP2aTlndJ4jItV QRRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C9BAH/SWAOtWLeHYnFPl2Bqgey0i5ozP72grR9eHJmo=; b=8L8BU70rtGjFeVL7RQacjnXcvgKkieA70ClgAYxg9v1KeyXzOy5cd37BH7d7ALyoZV uZkbLw5h3Jjzbx2QIedY1YPBvuCT2NEaAZyUgcmmcYf8EZLto6hNfiLtZwGhN7IBTNtk orDjt2uMnJcsQiXWh0n7L0pZpv0vb1sLiPpT8F7PZvCUd3Sm4TwAZho0Iw4DcF9b1i5z GGAGNyPDa8gG45LxHNvU/inbxmVKSmRsKflArvbGID4ng3oJAzC1nhTNm9vUXwjGtnJu 9+ofsHVbW9iYD3+kRJHNmEjkA60ZnbG20Ck/B8/v7VDXa8FSx5BCmcHwackiZ8+2rQko yPQQ== X-Gm-Message-State: AO0yUKXkCoaHFh2nGdPKPFoNs3HeirJv/p7SCPYbZNENnvW3gU1xkb6d wFliXED0bGIjPjyPEaNs7KQpSf0W803DAKVPfPrwTC6CuOU= X-Google-Smtp-Source: AK7set+FcgDrQZwJR9uqEubmKtfddt6lLICZMLiq5/3SJ8b1KSHBEldgZTNEMoA+9gfPNBCMihQwP/DZU6/NpX3k8M4= X-Received: by 2002:a19:7414:0:b0:4cc:6328:6f2 with SMTP id v20-20020a197414000000b004cc632806f2mr2055812lfe.173.1675979957029; Thu, 09 Feb 2023 13:59:17 -0800 (PST) MIME-Version: 1.0 References: <27182552-d0fb-fa0-d15-b969bdd09ada@martin.st> In-Reply-To: From: Hendrik Leppkes Date: Thu, 9 Feb 2023 22:59:02 +0100 Message-ID: To: FFmpeg development discussions and patches 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Thu, Feb 9, 2023 at 10:02 PM Ziemowit Laski wrote: > > > FWIW, this setup is definitely being used by lots of others already - so > > whenever there's such an issue, the main question to ask is why others > > haven't run into the issue before. But improvements are definitely > > welcome! > > You have to have PATH set up so that rc.exe is found inside the Windows SDK. > This is NOT the default behavior. Usually, you would have to invoke the > 'Developer Command Prompt' from the start menu to get the correct environment. > > But I have my system set up so that the Microsoft tools are ALWAYS found, > regardless of which shell you are running. That could explain the different > behavior that I'm seeing. > > > You should probably talk about the option '/nologo' here, there's no > > '/logo' option afaik. > > Yes, good catch, thanks. > > > These changes seem fine, but you're apparently not touching the case at > > the top, used for --version, where it is calling 'rc.exe /?'. For me, this > > That's an interesting point. I guess MinGW is "smart enough" not to rewrite > "/?" because it doesn't represent a valid path to begin with. I will change > it to "-?" as you suggest. > You would think so, but attempting to run rc.exe /? straight from a msys bash prompt over here does come up with an invalid file error, so definitely better to fix it. - Hendrik _______________________________________________ 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".