From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BmvX9-0007DK-3X for qemu-devel@nongnu.org; Tue, 20 Jul 2004 10:23:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BmvX7-0007D8-DY for qemu-devel@nongnu.org; Tue, 20 Jul 2004 10:23:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmvX7-0007D5-BC for qemu-devel@nongnu.org; Tue, 20 Jul 2004 10:23:53 -0400 Received: from [206.190.38.236] (helo=web51805.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BmvU7-0006gh-Va for qemu-devel@nongnu.org; Tue, 20 Jul 2004 10:20:48 -0400 Message-ID: <20040720141643.13537.qmail@web51805.mail.yahoo.com> Date: Tue, 20 Jul 2004 07:16:43 -0700 (PDT) From: Brad Watson Subject: Re: [Qemu-devel] patches in dad-answers.com In-Reply-To: <40FD10D2.8050007@simtreas.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --- "Vladimir N. Oleynik" wrote: > Hetz, > > > 1. NO_SDL - removes the SDL requirement and > replaces it with a native Xlib > > support (I hardly think Fabrice will ever commit > this). Anyone can write a > > small README how to add and compile this thing? > > Hmm... You could ask me and in the first person, not > in the third. > > Its trivial: > > $ mv sdl.c sdl_orig.c > $ ln -s nosdl.c sdl.c > $ patch Makefile.target > > $(QEMU_SYSTEM): $(VL_OBJS) libqemu.a > - $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) > $(VL_LIBS) $(SDL_LIBS) > + $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) > $(VL_LIBS) -L/usr/X11R6/lib -lX11 > > > PS: If and to correct this file, it is possible to > delete at the same time from > there option programs slowing down operation: > -g,-malign-functions=0, > -mpreferred-stack-boundary=2 ;-) > > > --w > vodz > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > Hi All, The following worked for me: >$ mv sdl.c sdl_orig.c >$ ln -s nosdl.c sdl.c > $ patch Makefile.target > $(QEMU_SYSTEM): $(VL_OBJS) libqemu.a - $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(VL_LIBS) $(SDL_LIBS) + $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(VL_LIBS) -L/usr/X11R6/lib -lX11 -lpthread Regards, Brad Watson __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com