Trying to buld qemu 1.6.0 with "MinGW64 unger Cygwin64".

Basically it works with current `configure` script but linker
requres alot of libraries built for MinGW64


$ export CC="x86_64-w64-mingw32-gcc"

$ ./configure --target-list="arm-softmmu" --disable-strip --disable-xen
--disable-kvm --disable-user --disable-docs
,,,
,,,
$ make
...
...
  LINK  qemu-img.exe
/usr/lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld:
cannot find -lgthread-2.0
/usr/lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld:
cannot find -lglib-2.0
/usr/lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld:
cannot find -lintl
/usr/lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld:
cannot find -liconv
/usr/lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld:
cannot find -lpcre
collect2: error: ld returned 1 exit status
/home/USER/qemu-1.6.0/rules.mak:60: recipe for target `qemu-img.exe' failed
make: *** [qemu-img.exe] Error 1




2013/9/24 Alexander Voropay <alexander.voro...@gmail.com>

> Hi!
>
> Can anyone please correct a building qemu-1.6.0 under Cygwin64 ?
>
> ./configure reports non-working "cc" . The gcc is installed and working
>
> $ uname -a
> CYGWIN_NT-6.1 MYWIN-A2 1.7.25(0.270/5/3) 2013-08-31 20:37 x86_64 Cygwin
>
>
> configure.log is attached,
>
> All pre-defined macros are attached
> (gcc -dM -E - < /dev/null)
>
>
> --
> -=AV=-
>

Reply via email to