[cairo] Patches for compilation in Win32

Behdad Esfahbod behdad at behdad.org
Wed Feb 6 15:04:07 PST 2008


On Wed, 2008-02-06 at 14:52 -0800, Vladimir Vukicevic wrote:
> On Feb 6, 2008, at 2:23 PM, Antoine Azar wrote:
> 
> > Hey Behdad,
> >
> > Here's finally the Win32 patch. Fixes compilation and linking  
> > errors, and adds debug and release configs to the win32 makefiles.
> >
> > There's still the getopt error present on Win32 which I bypass on my  
> > local machine with code from GNU's C library. It would be good to  
> > check if we can either include it in the perf code (license issues?)  
> > or parse command line arguments without it.
> 
> Ah, I forgot I looked into this last week -- I found a simplified  
> getopt that's BSD-licensed that we could drop in without any license  
> issues at http://sourceforge.net/projects/freegetopt/ .  I'd actually  
> suggest calling this _cairo_getopt or something and linking it in as  
> part of boilerplate so that both perf and normal tests have access to  
> it.

Sounds good.  Go ahead.

>      - Vlad
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list