delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/24/11:31:34

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C97F388A82B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1590334250;
bh=am/r12gnnuCwWhLJgyaRvTDGv4zs51X3eB+AofdOcd0=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=jJGwcytGAY/b34G7vzEBhYvAmxr5LouXa5xNIxCt8oXZP4Bhe97zD10GfT73fbJyq
JSh6brbD0Uoh7DkNOhrXdf2wIzBZFLW+3Do+QWJYDtgjzIl3E6Pjh74mTs57ga3WML
aaTNp1rZ4SkwFbYB3Nx1dC3yfI5Kap5GODrIzqso=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 42882386F816
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: <CAJzZnfReSV-1dJ6h8pBrxcWFd-5+wA766j_tn3=tOVG-ZEve=A AT mail DOT gmail DOT com>
<60aeb992-c8ed-d0a0-4473-55c45deb641a AT gmail DOT com>
In-Reply-To: <60aeb992-c8ed-d0a0-4473-55c45deb641a@gmail.com>
Date: Sun, 24 May 2020 17:30:31 +0200
Message-ID: <CAJzZnfTgVm=tLPeLXNUxC54E51KjjbFH-UumPc1mTg-LKFo7Eg@mail.gmail.com>
Subject: Re: help compilation qemu
To: cygwin AT cygwin DOT 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
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Juan carlos Rebate via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Juan carlos Rebate <nerus492 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 04OFVGjq011095

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áduly via Cygwin <cygwin AT cygwin DOT com>
escribió:

>
> 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
>
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019