Skip to contentSkip to conversation

win32 again

Qemu-devel Ronald 1 participant 1 message Aug 5, 2004

lore
Share & tools
lore

Ronald

author
#0 lore raw

Hi,

I have tied to compare the make output with both linux and win32 build. I have the same binutils (2.15) and gcc (3.2.3) and have configured only for i386-softmmu and ppc-softmmu
for win: ./configure --enable-mingw32 --cross-prefix=i386-mingw32- for linux: ./configure --prefix=/usr --target-list="i386-softmmu ppc-softmmu"

Win:

i386-mingw32-gcc -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -fpack-struct -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o qemu-img.exe qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c -lz -lmingwex In file included from vl.h:66,

                 from qemu-img.c:24:

osdep.h:31: warning: `struct siginfo' declared inside parameter list osdep.h:31: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from vl.h:66,

                 from block.c:24:

osdep.h:31: warning: `struct siginfo' declared inside parameter list osdep.h:31: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from vl.h:66,

                 from block-qcow.c:24:

osdep.h:31: warning: `struct siginfo' declared inside parameter list osdep.h:31: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from vl.h:66,

                 from aes.c:30:

osdep.h:31: warning: `struct siginfo' declared inside parameter list osdep.h:31: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from vl.h:66,

                 from block-vmdk.c:24:

osdep.h:31: warning: `struct siginfo' declared inside parameter list osdep.h:31: warning: its scope is only this definition or declaration, which is probably not what you want

Linux:

gcc -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o qemu-img qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c -lz