[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not func
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional |
Date: |
Wed, 8 Apr 2015 15:51:45 +0300 |
> On 08 Apr 2015, at 09:20, Stefan Weil <address@hidden> wrote:
>
> ... Here is my package list (from Debian Jessie):
>
> ii binutils-mingw-w64-i686 2.22-8+deb7u2+2+deb7u1 amd64
> Cross-binutils for Win32 (x86) using MinGW-w64
> ii binutils-mingw-w64-x86-64 2.22-8+deb7u2+2+deb7u1 amd64
> Cross-binutils for Win64 (x64) using MinGW-w64
> ii g++-mingw-w64 4.6.3-14+8 all GNU C++ compiler
> for MinGW-w64
> ii g++-mingw-w64-i686 4.6.3-14+8 amd64 GNU C++
> compiler for MinGW-w64 targeting Win32
> ii g++-mingw-w64-x86-64 4.6.3-14+8 amd64 GNU C++
> compiler for MinGW-w64 targeting Win64
> ii gcc-mingw-w64 4.6.3-14+8 all GNU C compiler
> for MinGW-w64
> ii gcc-mingw-w64-base 4.6.3-14+8 amd64 GNU
> Compiler Collection for MinGW-w64 (base package)
> ii gcc-mingw-w64-i686 4.6.3-14+8 amd64 GNU C
> compiler for MinGW-w64 targeting Win32
> ii gcc-mingw-w64-x86-64 4.6.3-14+8 amd64 GNU C
> compiler for MinGW-w64 targeting Win64
> ii gdb-mingw-w64 7.4.1-1.1+5 amd64 Cross-debugger
> for Win32 and Win64 using MinGW-w64
> ii gdb-mingw-w64-target 7.4.1-1.1+5 all
> Cross-debugger server for Win32 and Win64 using MinGW-w64
> ii gtk-mingw-w64-x86-64 3.6.4-20131201-2 all Converted
> tgz package
> ii gtk2.0-mingw-w64-i686 2.24.10-20120208-2 all
> Converted tgz package
> ii libfdt-mingw-w64-i686 1.4.0-2 all
> Converted tgz package
> ii libfdt-mingw-w64-x86-64 1.4.0-2 all
> Converted tgz package
> ii libpthreads-mingw-w64 2.9.1+dfsg-1 all POSIX
> threads library for 32- and 64-bit Windows
> ii mingw-w64 2.0.3-1 all Development
> environment targetting 32- and 64-bit Windows
> ii mingw-w64-i686-dev 2.0.3-1 all Development
> files for MinGW-w64 targeting Win32
> ii mingw-w64-tools 2.0.3-1 amd64 Development
> tools for 32- and 64-bit Windows
> ii mingw-w64-x86-64-dev 2.0.3-1 all
> Development files for MinGW-w64 targeting Win64
Hallo Stefan,
I'm trying to reproduce your build environment, but I'm only partly successful.
I got a fresh Debian 8 (in a virtual environment, but this should not matter):
docker run --interactive --tty --name "deb8x64_mingw-w64" debian:8 /bin/bash
then, as usually recommended, I updated and upgraded it:
apt-get -y update
apt-get -y upgrade
apt-get -y install lsb-release
after this, I have a confirmation that I have the expected version:
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
so far, so good.
then I took your list of packages and first installed the following mingw-w64
packages:
# apt-get -y install \
binutils-mingw-w64-i686 \
binutils-mingw-w64-x86-64 \
g++-mingw-w64 \
g++-mingw-w64-i686 \
g++-mingw-w64-x86-64 \
gcc-mingw-w64 \
gcc-mingw-w64-base \
gcc-mingw-w64-i686 \
gcc-mingw-w64-x86-64 \
gdb-mingw-w64 \
gdb-mingw-w64-target \
mingw-w64 \
mingw-w64-i686-dev \
mingw-w64-tools \
mingw-w64-x86-64-dev \
the result is:
# dpkg -l | grep mingw
ii binutils-mingw-w64-i686 2.25-5+5.2 amd64
Cross-binutils for Win32 (x86) using MinGW-w64
ii binutils-mingw-w64-x86-64 2.25-5+5.2 amd64
Cross-binutils for Win64 (x64) using MinGW-w64
ii g++-mingw-w64 4.9.1-19+14.3 all GNU C++
compiler for MinGW-w64
ii g++-mingw-w64-i686 4.9.1-19+14.3 amd64 GNU C++
compiler for MinGW-w64 targeting Win32
ii g++-mingw-w64-x86-64 4.9.1-19+14.3 amd64 GNU C++
compiler for MinGW-w64 targeting Win64
ii gcc-mingw-w64 4.9.1-19+14.3 all GNU C
compiler for MinGW-w64
ii gcc-mingw-w64-base 4.9.1-19+14.3 amd64 GNU
Compiler Collection for MinGW-w64 (base package)
ii gcc-mingw-w64-i686 4.9.1-19+14.3 amd64 GNU C
compiler for MinGW-w64 targeting Win32
ii gcc-mingw-w64-x86-64 4.9.1-19+14.3 amd64 GNU C
compiler for MinGW-w64 targeting Win64
ii gdb-mingw-w64 7.6.2-1.1+9 amd64
Cross-debugger for Win32 and Win64 using MinGW-w64
ii gdb-mingw-w64-target 7.6.2-1.1+9 all
Cross-debugger server for Win32 and Win64 using MinGW-w64
ii gfortran-mingw-w64 4.9.1-19+14.3 all GNU
Fortran compiler for MinGW-w64
ii gfortran-mingw-w64-i686 4.9.1-19+14.3 amd64 GNU
Fortran compiler for MinGW-w64 targeting Win32
ii gfortran-mingw-w64-x86-64 4.9.1-19+14.3 amd64 GNU
Fortran compiler for MinGW-w64 targeting Win64
ii gnat-mingw-w64 4.9.1-3+14 all GNU Ada
compiler for MinGW-w64
ii gnat-mingw-w64-base 4.9.1-3+14 amd64 GNU Ada
compiler for MinGW-w64 (base package)
ii gnat-mingw-w64-i686 4.9.1-3+14 amd64 GNU Ada
compiler for MinGW-w64 targeting Win32
ii gnat-mingw-w64-x86-64 4.9.1-3+14 amd64 GNU Ada
compiler for MinGW-w64 targeting Win64
ii mingw-w64 3.2.0-2 all
Development environment targeting 32- and 64-bit Windows
ii mingw-w64-common 3.2.0-2 all Common
files for Mingw-w64
ii mingw-w64-i686-dev 3.2.0-2 all
Development files for MinGW-w64 targeting Win32
ii mingw-w64-tools 3.2.0-2 amd64
Development tools for 32- and 64-bit Windows
ii mingw-w64-x86-64-dev 3.2.0-2 all
Development files for MinGW-w64 targeting Win64
there are slightly more packages than you have, and some are newer, probably
because I did the upgrade, but I hope this will not be a problem.
however, trying to bring the rest of the packages, with the libraries, failed:
# apt-get -y install \
> libpthreads-mingw-w64 \
> gtk-mingw-w64-x86-64 \
> gtk2.0-mingw-w64-i686 \
> libfdt-mingw-w64-i686 \
> libfdt-mingw-w64-x86-64 \
>
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libpthreads-mingw-w64 is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mingw-w64-x86-64-dev mingw-w64-i686-dev
E: Package 'libpthreads-mingw-w64' has no installation candidate
E: Unable to locate package gtk-mingw-w64-x86-64
E: Unable to locate package gtk2.0-mingw-w64-i686
E: Couldn't find any package by regex 'gtk2.0-mingw-w64-i686'
E: Unable to locate package libfdt-mingw-w64-i686
E: Unable to locate package libfdt-mingw-w64-x86-64
can you be more specific how did you install those packages?
my first goal is to reproduce your build environment, and only then proceed
with the builds.
a secondary goal is to also have a clean, documented and reproducible procedure
to create a Docker image that can be used for qemu builds (Docker is a great
tool for such automated builds).
regards,
Liviu
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, (continued)
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Peter Maydell, 2015/04/07
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/07
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/07
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Peter Maydell, 2015/04/07
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/07
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Peter Maydell, 2015/04/07
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/08
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Peter Maydell, 2015/04/08
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Stefan Weil, 2015/04/08
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/08
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional,
Liviu Ionescu <=
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/08
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Stefan Weil, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Stefan Weil, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Peter Maydell, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Stefan Weil, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Peter Maydell, 2015/04/09
- Re: [Qemu-devel] 64-bit build of qemu-system-arm with mingw-w64 not functional, Liviu Ionescu, 2015/04/10