delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/08/00:53:11

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76AFE3971C07
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1610085149;
bh=Sy2qP/G6ArMGH/lXDyjvYlG/zAzEjTvolNb3pPNoo5A=;
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=T0mc8X7p/4h8bGLC6udJs2ZxvxfltI+7R9tCFTJ7I7obcyH5k7OOFnF0d1iHVWVat
LzvVio5YeELvkFpRX29m2DibWddaeALDCDtUYVN4BAXa2vOIpuxYfY0VBdwxiDAgJF
46I8iDWt085besYfUFSaClAApJzHulvJKNiNoFLw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 05EF9385042C
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=Eqh1GEtQ8aDVp1ugEtImdjxXePSMJr2YLP+wBV8fHgE=;
b=JtlHEItXfA2gAfmeYEPyQbQQ3XYUwuTK6A0c8XvdCTh4Rs2XEL2/hSNZk/ycVLYG70
z98v987f89hEZU0xx04DBegQyHAGYrzX20Gff2rtVEyUYf74xbHrAnIyrXA5IYd1DOV9
4Xy4nW739CCHlthcQAApjDc2Pq1N6DdPa4JnSPBzS4j+W7ZBz3nSVbnBX3ki84/5EFW9
8GP+9roA8YEoHQpKxX7IftMWBXSPlLrdYfem/ArzGu3LgdtxPfyGgyOM7Txqoe46XIKu
7dpffRnyVe5ExVh+e7qbJYa+awdlYCkZnrDOH/4XBU0TAVlpfyuupcJH0g0WiUczubiR
Hmzg==
X-Gm-Message-State: AOAM5304u6NEsB+V8ubidiOK1L8vf47z3hYrky/J2QnLTBzGlMAtzaSp
diJ+GVK8Y9JbHSstDS3jsAZ5xEhgQyII0K72
X-Google-Smtp-Source: ABdhPJzGKox+ZqGgFFoJ4vzjNxwYdkC5bzIr6BZSs7saHL9zbR33+o/eHcUn1QzsB05Esq7lDDsXnA==
X-Received: by 2002:a1c:2605:: with SMTP id m5mr1526084wmm.111.1610085145060;
Thu, 07 Jan 2021 21:52:25 -0800 (PST)
Subject: Re: problem using gcc-core for compile qemu
To: cygwin AT cygwin DOT com
References: <CAJzZnfStmF4zseRoAvBm9HLd-dSgTjh8sWZTCFZJRPHCJsMaHQ AT mail DOT gmail DOT com>
<1d7072d9-c982-d3cd-e4ca-b4fd3dc1c6f6 AT gmail DOT com>
<cd43634f0573a04bb44d5b9d9165f49feb4839de DOT camel AT gmail DOT com>
Message-ID: <ea1fab30-88b1-3096-8080-9876cef32116@gmail.com>
Date: Fri, 8 Jan 2021 06:52:22 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <cd43634f0573a04bb44d5b9d9165f49feb4839de.camel@gmail.com>
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS,
NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=no 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1085qumt008389

On 07.01.2021 23:33, juan carlos rebate rodriguez via Cygwin wrote:
> El jue, 07-01-2021 a las 15:39 +0100, Marco Atzeri via Cygwin escribió:
>> If the upstream developers have not bothered to use a serious
>> configure system,, I doubt there is a easy solution.
>>
>> Questions:
>>
>> Are you trying to build for Cygwin or for Windows in general ?
>> why you can not use the Windows binaries ?
> 
> 
> I try to build for standard windows, for this reason I use gcc-core and
> not cygwin-gcc, if I can use normal windows binaries, what I cannot is
> use mingw because it is not able to find resources in the system while
> gcc does can, I can't use virtualbx because what I need is to emulate
> the aarch64 architecture, I don't want to use binaries compiled by
> others, one of the reasons is that those binaries don't include sd-card
> emulation support, but if those binaries are compiled by me I can
> include what I want, if I install this library through the cygwin
> package manager and then use gcc-core it is able to search for it, it
> is not my desire to get into the swamp and have to modify the
> configuration script, the An easier solution would be to try to trick
> mingw into looking for external libraries without having to modify
> their paths, since when editing them the compilation process slows down
> even more than it already is

Juan Carlos,
you are misunderstanding what gcc-core is.
gcc-core includes only the compiler that targets Cygwin itself.

To compile for Windows on Cygwin you need to use a cross-compiler.
The 64 bit one is in:

$ cygcheck -l mingw64-i686-gcc-core | grep usr/bin
/usr/bin/i686-w64-mingw32-cpp.exe
/usr/bin/i686-w64-mingw32-gcc.exe
/usr/bin/i686-w64-mingw32-gcc-10.exe
/usr/bin/i686-w64-mingw32-gcc-ar.exe
/usr/bin/i686-w64-mingw32-gcc-nm.exe
/usr/bin/i686-w64-mingw32-gcc-ranlib.exe
/usr/bin/i686-w64-mingw32-gcov.exe
/usr/bin/i686-w64-mingw32-gcov-dump.exe
/usr/bin/i686-w64-mingw32-gcov-tool.exe
/usr/bin/i686-w64-mingw32-lto-dump.exe

however there is another problem for building quemu

---------------------------------------------------
$ PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/sys-root/mingw ./configure 
--cc=/usr/bin/x86_64-w64-mingw32-gcc.exe 
           Using './build' as the directory for build output

ERROR: glib-2.48 gthread-2.0 is required to compile QEMU
----------------------------------------------------

and the cross gthread package is not present on Cygwin

$ cygcheck -cd |grep mingw64-x86
mingw64-x86_64-binutils                 2.34-1
mingw64-x86_64-bzip2                    1.0.6-4
mingw64-x86_64-gcc-core                 10.2.0-1
mingw64-x86_64-gcc-g++                  10.2.0-1
mingw64-x86_64-gettext                  0.19.8.1-2
mingw64-x86_64-glib2.0                  2.54.3-1
mingw64-x86_64-glib2.0-networking       2.54.1-1
mingw64-x86_64-gmp                      6.1.2-1
mingw64-x86_64-gnutls                   3.5.18-1
mingw64-x86_64-headers                  8.0.0-1
mingw64-x86_64-libffi                   3.2.1-2
mingw64-x86_64-libgcrypt                1.8.2-1
mingw64-x86_64-libgpg-error             1.28-1
mingw64-x86_64-libidn2                  2.0.4-1
mingw64-x86_64-libproxy                 0.4.14-1
mingw64-x86_64-libtasn1                 4.13-1
mingw64-x86_64-libunistring             0.9.6-1
mingw64-x86_64-nettle                   3.4-1
mingw64-x86_64-p11-kit                  0.23.10-1
mingw64-x86_64-pcre                     8.44-1
mingw64-x86_64-runtime                  8.0.0-1
mingw64-x86_64-win-iconv                0.0.6-2
mingw64-x86_64-windows-default-manifest 6.4-1
mingw64-x86_64-winpthreads              8.0.0-1
mingw64-x86_64-xz                       5.2.3-1
mingw64-x86_64-zlib                     1.2.11-1

I suggest you to try using MingW64 enviroment for compiling QEMU

http://mingw-w64.org/

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