* [Qemu-devel] [PATCH] Win32 build
@ 2005-01-09 2:25 Filip Navara
2005-01-10 16:29 ` [Qemu-devel] " Ronald
2005-01-10 22:58 ` [Qemu-devel] " Fabrice Bellard
0 siblings, 2 replies; 4+ messages in thread
From: Filip Navara @ 2005-01-09 2:25 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 95 bytes --]
Changes:
- Add x86_64-softmmu target to the build.
- Fix compiling with newer w32api headers.
[-- Attachment #2: qemu-x64-win32.patch --]
[-- Type: text/plain, Size: 1523 bytes --]
Index: configure
===================================================================
RCS file: /cvsroot/qemu/qemu/configure,v
retrieving revision 1.50
diff -u -r1.50 configure
--- configure 3 Jan 2005 23:38:40 -0000 1.50
+++ configure 9 Jan 2005 01:59:41 -0000
@@ -181,7 +181,7 @@
strip="${cross_prefix}${strip}"
if test "$mingw32" = "yes" ; then
- target_list="i386-softmmu ppc-softmmu sparc-softmmu"
+ target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu"
EXESUF=".exe"
gdbstub="no"
oss="no"
Index: slirp/slirp.h
===================================================================
RCS file: /cvsroot/qemu/qemu/slirp/slirp.h,v
retrieving revision 1.9
diff -u -r1.9 slirp.h
--- slirp/slirp.h 14 Nov 2004 18:58:04 -0000 1.9
+++ slirp/slirp.h 9 Jan 2005 01:54:47 -0000
@@ -20,6 +20,7 @@
typedef uint64_t u_int64_t;
typedef char *caddr_t;
+# include <windows.h>
# include <winsock2.h>
# include <sys/timeb.h>
# include <iphlpapi.h>
Index: target-i386/ops_template.h
===================================================================
RCS file: /cvsroot/qemu/qemu/target-i386/ops_template.h,v
retrieving revision 1.8
diff -u -r1.8 ops_template.h
--- target-i386/ops_template.h 3 Jan 2005 23:50:08 -0000 1.8
+++ target-i386/ops_template.h 9 Jan 2005 02:18:37 -0000
@@ -46,7 +46,7 @@
#define SUFFIX q
#define DATA_TYPE uint64_t
#define DATA_STYPE int64_t
-#define DATA_MASK 0xffffffffffffffff
+#define DATA_MASK 0xffffffffffffffffULL
#else
#error unhandled operand size
#endif
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: [PATCH] Win32 build
2005-01-09 2:25 [Qemu-devel] [PATCH] Win32 build Filip Navara
@ 2005-01-10 16:29 ` Ronald
2005-01-10 22:58 ` [Qemu-devel] " Fabrice Bellard
1 sibling, 0 replies; 4+ messages in thread
From: Ronald @ 2005-01-10 16:29 UTC (permalink / raw)
To: qemu-devel
Le Sun, 09 Jan 2005 03:25:43 +0100, Filip Navara a écrit :
> Changes:
> - Add x86_64-softmmu target to the build. - Fix compiling with newer
> w32api headers.
> Index: configure
> =================================================================== RCS
> file: /cvsroot/qemu/qemu/configure,v retrieving revision 1.50
> diff -u -r1.50 configure
> --- configure 3 Jan 2005 23:38:40 -0000 1.50 +++ configure 9 Jan 2005
> 01:59:41 -0000 @@ -181,7 +181,7 @@
> strip="${cross_prefix}${strip}"
>
> if test "$mingw32" = "yes" ; then
> - target_list="i386-softmmu ppc-softmmu sparc-softmmu" +
> target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu"
> EXESUF=".exe"
> gdbstub="no"
> oss="no"
Just a comment about qemu-system-x86_64, I have successfully loaded
http://bochs.sourceforge.net/guestos/linux.x86-64.bzImage on windows
98/750MHz duron. I went as far as the kernel mount the root ro and free
unused memory (on linux too) because of tls.
Another thing which can be of interest: I have updated SDL to 1.2.8,
wine (20041201) can now launch qemu.exe without setting bpp to a fixed
value in sdl.c
--- qemu-doc.texi 2004-12-20 01:18:55.000000000 +0100
+++ qemu-doc.texi.new 2005-01-10 17:25:16.582909377 +0100
@@ -1287,9 +1287,6 @@
@end itemize
-Note: Currently, Wine does not seem able to launch
-QEMU for Win32.
-
@section Mac OS X
The Mac OS X patches are not fully merged in QEMU, so you should look
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] Win32 build
2005-01-09 2:25 [Qemu-devel] [PATCH] Win32 build Filip Navara
2005-01-10 16:29 ` [Qemu-devel] " Ronald
@ 2005-01-10 22:58 ` Fabrice Bellard
2005-01-10 23:56 ` Filip Navara
1 sibling, 1 reply; 4+ messages in thread
From: Fabrice Bellard @ 2005-01-10 22:58 UTC (permalink / raw)
To: qemu-devel
Filip Navara wrote:
> Index: target-i386/ops_template.h
> ===================================================================
> RCS file: /cvsroot/qemu/qemu/target-i386/ops_template.h,v
> retrieving revision 1.8
> diff -u -r1.8 ops_template.h
> --- target-i386/ops_template.h 3 Jan 2005 23:50:08 -0000 1.8
> +++ target-i386/ops_template.h 9 Jan 2005 02:18:37 -0000
> @@ -46,7 +46,7 @@
> #define SUFFIX q
> #define DATA_TYPE uint64_t
> #define DATA_STYPE int64_t
> -#define DATA_MASK 0xffffffffffffffff
> +#define DATA_MASK 0xffffffffffffffffULL
> #else
> #error unhandled operand size
> #endif
Is this really needed to compile ?
Fabrice.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] Win32 build
2005-01-10 22:58 ` [Qemu-devel] " Fabrice Bellard
@ 2005-01-10 23:56 ` Filip Navara
0 siblings, 0 replies; 4+ messages in thread
From: Filip Navara @ 2005-01-10 23:56 UTC (permalink / raw)
To: qemu-devel
Fabrice Bellard wrote:
> Filip Navara wrote:
>
>> Index: target-i386/ops_template.h
>> ===================================================================
>> RCS file: /cvsroot/qemu/qemu/target-i386/ops_template.h,v
>> retrieving revision 1.8
>> diff -u -r1.8 ops_template.h
>> --- target-i386/ops_template.h 3 Jan 2005 23:50:08 -0000 1.8
>> +++ target-i386/ops_template.h 9 Jan 2005 02:18:37 -0000
>> @@ -46,7 +46,7 @@
>> #define SUFFIX q
>> #define DATA_TYPE uint64_t
>> #define DATA_STYPE int64_t
>> -#define DATA_MASK 0xffffffffffffffff
>> +#define DATA_MASK 0xffffffffffffffffULL
>> #else
>> #error unhandled operand size
>> #endif
>
>
> Is this really needed to compile ?
GCC reports lots of warnings like these otherwise:
qemu/target-i386/ops_template.h: In function `compute_all_incq':
qemu/target-i386/ops_template.h:182: warning: integer constant is too
large for "long" type
In file included from e:/DIFFs/qemu/target-i386/op.c:733:
qemu/target-i386/ops_template.h: In function `compute_all_decq':
qemu/target-i386/ops_template.h:204: warning: integer constant is too
large for "long" type
In file included from e:/DIFFs/qemu/target-i386/op.c:733:
qemu/target-i386/ops_template.h: In function `op_shrq_T0_T1':
qemu/target-i386/ops_template.h:436: warning: integer constant is too
large for "long" type
- Filip
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-11 0:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-09 2:25 [Qemu-devel] [PATCH] Win32 build Filip Navara
2005-01-10 16:29 ` [Qemu-devel] " Ronald
2005-01-10 22:58 ` [Qemu-devel] " Fabrice Bellard
2005-01-10 23:56 ` Filip Navara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).