This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OpenGL packaging


Andre Bleau wrote:
> 
> Earnie Boyd <earnie_boyd@yahoo.com> wrote:
> 
> >It is currently --prefix=/usr/local (this is the default for configure).  All
> >packages distributed via setup need to be `configure --prefix=/usr'.

If I may jump in here. The complete configure should at least set
--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin

The rest is typically automagically correct. However, it would be
nice to check if the local state directory is configured as well:

--localstatedir=/var

Some packages don't know that setting then it's all one of course.

> If I take the
> /usr/include/GL spot for the Win32/OpenGL package, my include files will be
> used independently of -I options, as files in /usr/include have priority
> over those in directories specified by -I; that would make life harder for

Nope. From `info gcc':

`-IDIR'
     Add the directory DIR to the head of the list of directories to be
     searched for header files.  This can be used to override a system
     header file, substituting your own version, since these
     directories are searched before the system header file
     directories.  If you use more than one `-I' option, the
     directories are scanned in left-to-right order; the standard
     system directories come after.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@redhat.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]