X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; q=dns; s=default; b=tN6c0J3sy6BSSw9zaCYJmRNqnFWf3mhielZ9gOSyL6w ecqQp5yv3xd2JrLhA/CpbZqD+wL+ofGM7rSeX6nmg12Wr9O2zil8cep5qhF5oyXW fFgXX0FDk29AuNiStwhL1KDU8Jd7ayoh1gMpu2oZvgddPUIjJpPxsDf5CL4ZhpVo = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=default; bh=7qMhWK/fyELzWA+qz6k90jXAtlY=; b=sKKOxjYrZxVIA0yne 18NzRVd/FTdSCCmL+kXliQ7LBE2EA17bbWz4BWTcLUi+5ryxeD3Q7spspFZTCBoq MV078ruLQewqetl+Ix2jnqUGuuW9krO1OFzpk+AgasI8mkDM0nAxByNVZL/XKeha eZy38fqPoOuGagG6RTOXhm4DJ4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:976, 5.4, Cross, H*M:CAA X-HELO: mail-qk0-f178.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=XkEubyrZEAmB81HEmzqx6zRAfxTlnxNAHF0zqlyN+xU=; b=KACZ6wsXeiJqoa5kVwz3ArVyfelkiR0imcKG5C0qNVkv8Mct3Xrks/0mDdo7iDvguG oUrEZNGfdyQaOG97P2x7ekWTX8OBtMdfYtB2cFm5xfZ2VUe2+PXuj9HcM4WvWoR+hkm0 MXa/QwG02ZEW/oR3u6u79vlLmdYbEpeOjJRe24/RR0pV6PAOjNT6V51maL4fbCL+1Q+Z la0cu9X9n1FZfFhf89h5T7CCkln1KdpVtcmo3sd4mNmmnfq4iNjiSuCkoptR0KklaXru FBJN7INd2cDmSwK5GwMOMOBp7sVe1BK2EvqMBhsiF9GbAIJUirrw4Gz/aNC05oWCtSrW IqfQ== X-Gm-Message-State: AODbwcCBwzsl7qHr8TvwcfeNxQQ+MLpw9Z5r/dYgkHB3E4qwOov6n3u0 VOPQdcphDcYWJ0+VQnZ9qkOY5x9acJJBi3g= X-Received: by 10.55.92.3 with SMTP id q3mr6673291qkb.164.1494646918712; Fri, 12 May 2017 20:41:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: "Allan C." Date: Sat, 13 May 2017 11:41:58 +0800 Message-ID: Subject: Re: g++ -mno-cygwin flag not recognized To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v4D3gGwT025226 On 13 May 2017 at 11:17, René Berber wrote: > On 5/12/2017 10:03 PM, Allan C. wrote: > >> I am trying to build a win32 project with gcc 5.4 with the flag >> -mno-cygwin but the flag is not recognized. Is there an approach I >> could release an exe without bundling cygwin's dll? > > That option has been deprecated for many years. > > What you have to do is install one of the cross-compilers (32-bit, or > 64-bit, or both), and cross compile the project. > > Cross compiling can be as easy as defining CC as the cross-compiler, and > as hard as having to build all the dependencies and make sure all the > right, cross-compiles libraries, are the only ones used. > -- > R. Berber > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Got it. Thanks René. Cheers. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple