From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 42882386F816 for ; Sun, 24 May 2020 15:30:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 42882386F816 Received: by mail-lf1-x134.google.com with SMTP id x27so9182877lfg.9 for ; Sun, 24 May 2020 08:30:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tvRoWShPK1gAmx7Cse5hXOJrqqvq/dPz+I8dF84RbEY=; b=uWGDCoNJ2py72cKkMOIrbKHBAbIrHJy/cvg7nIULGeS+aU0IyW8kv/rXQql8RTGuzK iKSTApB61vhZifMys4YQ//4xwtIq05iLcoEb+fv8k0DbmklfolbsM+8qlzhqmBV3HqCN w3CkmuMRySdZwxGbeDQ+KMhVmUHbhpIc0Z3sXcN+MoLOE81WHwVh2R7Xb9GWSVTzbMMc NYkji1ICn1Kzn24jTn+hcEbP/11v6aaSwz2RraaSbI4UQKtKie+21lZTlV2OUhH1gsr3 VRSbywHlDac2869sZq4y+cRNZKp+P/CxOi0YK+LlbhZeqm1BbyHsrhavtqP7X0Aafxp2 W4wQ== X-Gm-Message-State: AOAM530PBAtuAtkOTgNMkARwfc4yNTcng31Dvmk6F74wTIrG6EXVMWMR nO2EfV+Bq37UxrGS+hHAuAhB/VXi+fLqUPjDhXojjA== X-Google-Smtp-Source: ABdhPJz+8kZ+WSIT+WpsB5xT4m0vbld+vTNk6Hyqyzsk3tyPrHmYGikOWMRuCplxCr4g3+VP0ptaDPpJ8nwiIYCQ91w= X-Received: by 2002:ac2:5df2:: with SMTP id z18mr12123421lfq.151.1590334244570; Sun, 24 May 2020 08:30:44 -0700 (PDT) MIME-Version: 1.0 References: <60aeb992-c8ed-d0a0-4473-55c45deb641a@gmail.com> In-Reply-To: <60aeb992-c8ed-d0a0-4473-55c45deb641a@gmail.com> From: Juan carlos Rebate Date: Sun, 24 May 2020 17:30:31 +0200 Message-ID: Subject: Re: help compilation qemu To: cygwin@cygwin.com X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 15:30:48 -0000 Hi Caba, I know qemu-system-i386 because the official binary is that size.As for the command used I use this:x86_64-w64-mingw32- this way it compiles perfectly except for the file sizes, if I add the option - s the error Bash option -s unknown, I use 64-bit El dom., 24 may. 2020 11:32, Csaba R=C3=A1duly via Cygwin escribi=C3=B3: > > 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 nativ= e > 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 retur= ns > > 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 reliabl= e. > > 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 Sampl= er > 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 >