Added notes for building under Cygwin
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@790 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
2ceeedd2f0
commit
796d78fd9e
@ -82,8 +82,22 @@ not necessary as the header file includes a pragma telling the compiler which
|
|||||||
library file to look for.
|
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
|
The "freeglut" developers' community discussed the possibility of distributing
|
||||||
binaries and decided against it. If you need Windows library files, please
|
binaries and decided against it. If you need Windows library files, please
|
||||||
|
Reference in New Issue
Block a user