freetype-devel
[Top][All Lists]
Advanced

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

Re: CygWin build system for FreeType2


From: David Turner
Subject: Re: CygWin build system for FreeType2
Date: Tue, 03 Oct 2000 11:41:31 +0200

HI Karsten,

> 
> Hello,
> 
> I just built FreeType2 on a CygWin32 system succesfully. Here are my changes
> to the build system:
> 
> - created a new builds/cygwin directory
> - copied unix/* stuff into it, changed filenames from "unix*" to "cygwin*"
> and occurences of "unix" in the files to "cygwin"
> - detection works like win32 detection and checking OSTYPE variable for
> "cygwin"
> - set CONFIG_SHELL=/bin/bash before configuring
> - changed win32 and dos detection to skip if OSTYPE is "cygwin"
> 
> It's a quick and dirty thing, but it works fine for me. Maybe needs some
> more work.
> 
> It's all in the attached tarball, builds/win32/detect.mk and
> buils/dos/detect.mk will get replaced.
> 

thanks, I've committed your files to the CVS repository and they
should be available soon in the current snapshot :-)

I didn't test them (except ensuring that they didn't break normal
Win32 builds with gcc and Visual C :-). I have a few questions though:

 - do these additional files work from the windows command line
   and/or from bash ?

 - it seems that CONFIG_SHELL is hard-coded to "/bin/bash", am
   I wrong to suppose that this will not work with all installs
   of Cygwin

 - it'd be probably nice to change the files to allow the
   compilation of the library with other compilers even when
   the environment variable OSTYPE is defined as "cygwin",
   with something like "make setup visualc" for example..

Anyway, thanks a lot for the new files :-)

- David


> Karsten
> 
>   
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>                                     Name: freetype2-cygwin-build.tar.gz
>    freetype2-cygwin-build.tar.gz    Type: Unix Tape Archive 
> (application/x-tar)
>                                 Encoding: base64



reply via email to

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