From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 8CDD83858D28 for ; Wed, 18 Jan 2023 18:42:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8CDD83858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id I9oDpBAn5c9C4IDOdpT4Gw; Wed, 18 Jan 2023 18:42:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1674067371; bh=e6IgYewxozkyuphnfgDKzfzNk9glMf2pp/S0Yf/Iu/s=; h=Date:From:Subject:Reply-To:To:Cc:References:In-Reply-To; b=WSZxXmWKEgwfDMhR3o28Bw6SS7EFQaC1p3vk/hswKwrZxCWa8b2GArSp879TR52UK uePJuF3ZlpjK/oXFk51d/DVFtgZanTjyqB/o2oRkWzR/NNL3+CkVn/6xoVE8/LDq+i 9lhg2bkbaGzG/F9K1Ch7rfTbeqjCdhv7QfZcHgKbGKBjiMKnaVWncL+wmRz1J4liB+ Qde8yTPGqvWNSxC2G+h9Uv8Ys1lNwDrnM+PljpX+rPqbgK/uB2Gb0ogGmbw4jp8pMR TH24JSFPxpgMWOn1A9Cs06u5pTAzIIUBm5PExVb4BOhcecizZSF40lH1KkZFzTk+4k l33wDRhNH3TUg== Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id IDOcpiUq4yAOeIDOcpX1Ij; Wed, 18 Jan 2023 18:42:50 +0000 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=63c83daa a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8 a=5NtsMlROSz1A8xKyYVgA:9 a=QEXdDO2ut3YA:10 a=_FVE-zBwftR9WsbkzFJk:22 Message-ID: <96c22419-377c-7d26-bb29-ef81564f4490@Shaw.ca> Date: Wed, 18 Jan 2023 11:42:50 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 From: Brian Inglis Subject: Re: Does i686-w64-mingw32-gcc now use -mno-cygwin by default? Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Cc: Don Kuenz References: <507e7dfc987741cc10f1b21540fc02a4@crcomp.net> Content-Language: en-CA Organization: Inglis In-Reply-To: <507e7dfc987741cc10f1b21540fc02a4@crcomp.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfPlUu6vCaGe5bD/YvIYcUjAMPZ4Z2THwHb+yNxcAH4tmkY/46K9RGJgnoSHolGh4QmpaZ0MIYNUFcJsp4rSUqL9Y1VGdQAQW7sP6lgtDP3W3XbxfKWgP ++av/WXRsEEjx4z3jlBb3kOf/Eak50yG4S87FNhRtkuEJDgpAHT9dakl4jbfIZyNIpV5RVt//EwekS2F2YSjlSHUQaIgxASrH+4= X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-01-17 15:25, Don Kuenz via Cygwin wrote: > Greetings, > > Back in the day i686-pc-mingw32-gcc used the -mno-cygwin flag to break > the implicit link to cygwin1.dll. It enabled developers to release a > standalone binary. In other words, cygwin1.dll did not have to be > installed on the user's PC in order for a standalone binary to run. > > i686-pc-mingw32-gcc is no longer available. And i686-w64-mingw32-gcc now > seems to create standalone binaries by default. The binaries run on a > target PC without cygwin1.dll installed. > > Can someone confirm i686-w64-mingw32-gcc in its default mode now creates > standalone binaries? The -no-/-cygwin options were removed in 2010 except for: $ info gcc Invoking Option /Windows invoke.texi/Option Summary/x86 Windows Options at: https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/doc/invoke.texi#l1454 1453 @emph{x86 Windows Options} 1454 @gccoptlist{-mconsole -mcygwin -mno-cygwin -mdll @gol 1455 -mnop-fun-dllimport -mthread @gol 1456 -municode -mwin32 -mwindows -fno-set-stack-executable} from which the man gcc Windows options are generated with texi2pod and pod2man. The mingw toolchains are used to build native Windows objects and files. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry