delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/11/13:33:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 11 Apr 2001 11:32:56 -0600 (MDT)
From: Roger Sayle <roger AT metaphorics DOT com>
X-Sender: roger AT daylight DOT daylight DOT com
To: Andre Bleau <bleau AT igb DOT umontreal DOT ca>
cc: cygwin AT cygwin DOT com, mingw-users AT lists DOT sourceforge DOT net
Subject: Re: GL/gl.h in w32api
In-Reply-To: <4.3.2.7.0.20010411090013.00b57630@irispavp.igb.umontreal.ca>
Message-ID: <Pine.SOL.4.20.0104111057590.14505-100000@daylight.daylight.com>
MIME-Version: 1.0

Andre Bleau wrote:
> Maybe there is some misunderstanding here.  The OpenGL package for
> Cygwin _already_ contains the headers for MS implementation of OpenGL
> and GLU.
> 
> As for -mno-cygwin support, it will be included in the next version of 
> Cygwin's OpenGL package (probably next week). Headers are now in 
> /usr/include/GL and, IMO, should stay there to maintain compatibility. 
> There will be a soft link from /usr/include/mingw/GL to /usr/include/GL. 
> Maybe there should be another from /usr/include/w32api/GL ? ...maybe
> not if -mno-cygwin support is present, as mentioned above.


My understanding of the current organization of cygwin's include files
is that header files specific to cygwin's runtime appear in /usr/include,
header files specific to mingw's runtime appear in /usr/include/mingw and
Microsoft Win32 APIs common to both occur in /usr/include/win32api.

OpenGL is such a Microsoft API and the appropriate headers should be
placed in /usr/include/w32api/GL.  The current opengl-1.1.0-3 places
the headers in /usr/include and therefore doesn't support "-mno-cygwin"
compiles, as reported by your postings in February.  Adding a symbolic
link from /usr/include/mingw/GL to /usr/include/GL in the next release
would solve the issue, but not in keeping with the current cygwin
philosophy.

Similarly, "-mno-win32" should hide these win32 API headers.

Chris F?

Roger
--
Roger Sayle,                         E-mail: roger AT metaphorics DOT com
Bioinformatics Group, Metaphorics,   WWW: http://www.metaphorics.com/
Office 104, 441 Greg Avenue,         Tel: (+1) 505-954-3281
Santa Fe, New Mexico, 87501.         Fax: (+1) 505-989-1200


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019