From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id C91443851C06 for ; Sun, 24 May 2020 09:25:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C91443851C06 Received: by mail-ej1-x636.google.com with SMTP id yc10so17584682ejb.12 for ; Sun, 24 May 2020 02:25:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ptnVmt0abprDn+ljilm4DJnhBoXoaEtXV87VhAsuMNc=; b=rfA2TtghkhKi+7qv5i+GKljpBIDxtYvjVkgWRseg7wwbTi/LHSVjbJ9f1mzjBOybTw hDWdcFi8M/0DSA22IWn56Xe/zSmbL0ZCpVHWWy+txE/iRxxhhccC5mg2nNhEBSFFjh3U 8d9vhZ23+9lKFwd5EXJzexV9dmgv5bZgKDFcd4iTFhcbRelMu2ga6OZJ9jCbZWFeQzoa 6tjRkNI2JkIfTyza8FmYwElUN7dZNVEpSJKQVtJzrQiq7rOZ2OlaoZ9NSbxuxpfbjq3y e21q0Hf2OdN+1pCtCRoBaDxYxICFmI2dZ13b+gmkXcaMHKHC1z52fowfvn8vxUs9Gxb3 Rn0w== X-Gm-Message-State: AOAM532bwGzx3nwkOAuiCHFoBBf6O84DEUDrmnu9i5qxXbOgdnmgu/Ea fmY7QRgr+aw0Sxf5CDFCRvfdxSJ20eM= X-Google-Smtp-Source: ABdhPJw5foOhf0+wv78RG6LIq/uluYp6i1uT6EtIcJ06rwuJd1QSSxvHGpIfsi5UfI5FsVh0Hl0wyA== X-Received: by 2002:a17:906:a441:: with SMTP id cb1mr14676370ejb.45.1590312333662; Sun, 24 May 2020 02:25:33 -0700 (PDT) Received: from ?IPv6:2a01:36d:111:e7dc:fd94:f987:4f7e:18fe? (2a01-036d-0111-e7dc-fd94-f987-4f7e-18fe.pool6.digikabel.hu. [2a01:36d:111:e7dc:fd94:f987:4f7e:18fe]) by smtp.gmail.com with ESMTPSA id ef13sm13096678ejb.24.2020.05.24.02.25.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 May 2020 02:25:32 -0700 (PDT) Subject: Re: help compilation qemu To: cygwin@cygwin.com References: From: =?UTF-8?Q?Csaba_R=c3=a1duly?= Message-ID: <60aeb992-c8ed-d0a0-4473-55c45deb641a@gmail.com> Date: Sun, 24 May 2020 11:25:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.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: , X-List-Received-Date: Sun, 24 May 2020 09:25:36 -0000 Hi Juan Carlos, On 24/05/2020 02:08, Juan carlos Rebate via Cygwin wrote: ... > 1 the compiler is extremely slow, gcc on Linux is about 10 times > faster, How could I speed up the compilation process?. Unfortunately, Cygwin's emulation of fork() is slow compared to the native Linux implementation (I've seen 1000x difference once, in a test launching the same program repeatedly). There's not much you can do about it, except getting faster hardware. A C++ build involves lots and lots of programs being forked. > 2 the executables produced are too fat, for example qemu-system-i386 is 65 > MB, but it should be 10.5 MB, if I use the -s option in configure returns > an unknown error message, how could I fix it? Thank you Why do you think qemu-system-i386 "should be 10.5 MB" ? Are you using 32-bit or 64-bit Cygwin? 64-bit executables are usually bigger than their 32-bit counterparts (although rarely six times as big). You really need to give us more information if you hope to get help, like the actual commands you used and the exact error message. Without those, we can only guess, and my crystal ball is not very reliable. If you want to strip the resulting executables, you could try setting the LDFLAGS environment variable to '-s' before running configure Csaba -- You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler So if you're looking for a completely portable, 100% standards-conformat way to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)