X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B29A38582BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1674067412; bh=Dcm9+SH0LKPLcwllkQTR7si86qrnLYUtCPPCcCnk9YU=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=nW0Nw4lnz+UI3qrbA1Di35yYYhSexAjsuM73lbJG9yn2c/LNyKeUqtWPkeys2T/Fx jcIOP0IlRqbD6O3mTnLNL4fhdCstw3A7hHVG+QZky+9HfLH4Gnqp0ba+vYMKlmdJOA yzLNiTEKMUSqshiIfiWG4bKawObJdjNMsr7hfCOs= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8CDD83858D28 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 Subject: Re: Does i686-w64-mingw32-gcc now use -mno-cygwin by default? To: cygwin AT cygwin DOT com References: <507e7dfc987741cc10f1b21540fc02a4 AT crcomp DOT net> Content-Language: en-CA Organization: Inglis In-Reply-To: <507e7dfc987741cc10f1b21540fc02a4@crcomp.net> 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis , Don Kuenz Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 30IIhtGh006023 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple