* [Qemu-devel] PATCH: fix configure for cygwin
@ 2007-07-03 13:03 Tristan Gingold
2007-07-12 8:44 ` [Qemu-devel] Ping: " Tristan Gingold
0 siblings, 1 reply; 4+ messages in thread
From: Tristan Gingold @ 2007-07-03 13:03 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
Hi,
this patch fixes two minors issue for cygwin:
* --disable-kqemu didn't work for this configuration (because
overridden)
* -mno-cygwin was missing in the final link.
Tristan.
[-- Attachment #2: qemu-mingw.diff --]
[-- Type: application/octet-stream, Size: 2014 bytes --]
Index: Makefile.target
===================================================================
RCS file: /sources/qemu/qemu/Makefile.target,v
retrieving revision 1.186
diff -c -p -r1.186 Makefile.target
*** Makefile.target 30 Jun 2007 17:32:17 -0000 1.186
--- Makefile.target 3 Jul 2007 12:58:09 -0000
*************** tcp_subr.o tcp_timer.o udp.o bootp.o deb
*** 494,500 ****
VL_OBJS+=$(addprefix slirp/, $(SLIRP_OBJS))
endif
! VL_LDFLAGS=
VL_LIBS=$(AIOLIBS)
# specific flags are needed for non soft mmu emulator
ifdef CONFIG_STATIC
--- 494,500 ----
VL_OBJS+=$(addprefix slirp/, $(SLIRP_OBJS))
endif
! VL_LDFLAGS=$(VL_OS_LDFLAGS)
VL_LIBS=$(AIOLIBS)
# specific flags are needed for non soft mmu emulator
ifdef CONFIG_STATIC
Index: configure
===================================================================
RCS file: /sources/qemu/qemu/configure,v
retrieving revision 1.146
diff -c -p -r1.146 configure
*** configure 23 Jun 2007 16:03:35 -0000 1.146
--- configure 3 Jul 2007 12:58:09 -0000
*************** case $targetos in
*** 108,116 ****
--- 108,123 ----
CYGWIN*)
mingw32="yes"
OS_CFLAGS="-mno-cygwin"
+ VL_OS_LDFLAGS="-mno-cygwin"
+ if [ "$cpu" = "i386" ] ; then
+ kqemu="yes"
+ fi
;;
MINGW32*)
mingw32="yes"
+ if [ "$cpu" = "i386" ] ; then
+ kqemu="yes"
+ fi
;;
GNU/kFreeBSD)
oss="yes"
*************** if test "$mingw32" = "yes" ; then
*** 390,398 ****
linux="no"
EXESUF=".exe"
oss="no"
- if [ "$cpu" = "i386" ] ; then
- kqemu="yes"
- fi
fi
# Check for gcc4, error if pre-gcc4
--- 397,402 ----
*************** echo "AR=$ar" >> $config_mak
*** 714,719 ****
--- 718,724 ----
echo "STRIP=$strip -s -R .comment -R .note" >> $config_mak
echo "OS_CFLAGS=$OS_CFLAGS" >> $config_mak
echo "OS_LDFLAGS=$OS_LDFLAGS" >> $config_mak
+ echo "VL_OS_LDFLAGS=$VL_OS_LDFLAGS" >> $config_mak
echo "ARCH_CFLAGS=$ARCH_CFLAGS" >> $config_mak
echo "ARCH_LDFLAGS=$ARCH_LDFLAGS" >> $config_mak
echo "CFLAGS=$CFLAGS" >> $config_mak
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-12 10:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-03 13:03 [Qemu-devel] PATCH: fix configure for cygwin Tristan Gingold
2007-07-12 8:44 ` [Qemu-devel] Ping: " Tristan Gingold
2007-07-12 9:30 ` Thiemo Seufer
2007-07-12 10:33 ` Tristan Gingold
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).