qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] patches in dad-answers.com


From: Brad Watson
Subject: Re: [Qemu-devel] patches in dad-answers.com
Date: Tue, 20 Jul 2004 07:16:43 -0700 (PDT)

--- "Vladimir N. Oleynik" <address@hidden> 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
> address@hidden
> 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 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]