X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 003A0386F451 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1590312338; bh=tPGoHWua7xrEAZLx3UdB5GMJlYSzplhLXIfF57JbeB4=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=PkdGiXYExDs+24pspElMC7IfvtKc+ymo/HkHlnWB5AUgbcZvVheRSrsqr+RHbmUwR qXJImvWAU9VDYl9WbFEOwslyZPiECRwOI6WlAs+7rJ2mp1kS3bQKEy2Rrqq3IIiCqp GqI3PK1fNAW9vShC/1PZSLA4DG4yTQKgZztlbdgo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C91443851C06 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) Subject: Re: help compilation qemu To: cygwin AT cygwin DOT com References: 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-Language: en-GB 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 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: =?utf-8?q?Csaba_R=C3=A1duly_via_Cygwin?= Reply-To: =?UTF-8?Q?Csaba_R=c3=a1duly?= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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) -- 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