From 38ecbfa14a0729bd205239c4e793e970719e8379 Mon Sep 17 00:00:00 2001 From: Sven Panne Date: Sun, 1 Mar 2009 12:32:03 +0000 Subject: [PATCH] Added notes for building under Cygwin git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@790 7f0cb862-5218-0410-a997-914c9d46530a --- README.win32 | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.win32 b/README.win32 index 6f0b96c..e91d893 100755 --- a/README.win32 +++ b/README.win32 @@ -82,8 +82,22 @@ not necessary as the header file includes a pragma telling the compiler which library file to look for. -If you don't have MSVC or Open Watcom -===================================== +Building and Installing the Libraries with Cygwin +================================================= + +To build "freeglut" under Cygwin, you have two choices: + +- You can build a normal Cygwin library, which depends on Cygwin's X11 + libraries. To do this, you can just use the normal autotools incantation: + ./configure && make install + +- Alternatively, you can build a DLL which does not depend on X11 and links + against the opengl32 DLL. To do this, configure need a few more flags: + ./configure CPPFLAGS=-mno-cygwin LDFLAGS=-mno-cygwin --without-x && make install + + +If you don't have MSVC, Open Watcom or Cygwin +============================================= The "freeglut" developers' community discussed the possibility of distributing binaries and decided against it. If you need Windows library files, please -- 1.7.10.4