delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/15/19:11:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <48F648E0 DOT 7040807 AT cornell DOT edu>
Subject: RE: Headers not found when gcc4 installed without gcc3
Date: Thu, 16 Oct 2008 00:10:55 +0100
Message-ID: <024801c92f1b$46bacec0$9601a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <48F648E0.7040807@cornell.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ken Brown wrote on 15 October 2008 20:48:

> I've just used gcc-4 to (successfully) build emacs 22.3 under both
> cygwin 1.5 and cygwin 1.7.  In my first attempt for 1.7, I initially had
> gcc4 installed, but none of the regular gcc packages.  The result was
> that the emacs configure script failed to find the X11 headers.  I then
> installed gcc-core, etc., and the build succeeded.
> 
> I'm not a programmer, and I have no idea what causes headers to be
> found, 

  What causes headers to be found is the relevant -devel package having been
installed by setup.exe; and what causes /that/ to happen is either your
explicit selection of the package in setup.exe's chooser, or it's being a
dependency of some other package you've chosen to install.  Dependencies for
all packages are listed in the "requires:" line of their setup.hint files on
the mirrors, and in setup.ini which is generated from them.

> but this strikes me as a possible problem with the gcc4
> package(s).  Or is it intended that users of gcc4 should also have gcc
> installed?

  They're certainly intended to be orthogonal.  And I don't know what exactly
happened to you, but there's no way on earth that installing Gcc-3 should
cause any X-related headers to be pulled in.  Both setup.hints for gcc-core
and gcc4-core pull in w32api, and that's it by the way of headers.

  Is it perhaps possible that your initial install failed to completely run
and the second time round setup.exe got the missing bits anyway - only
coincidentally at the same time as you installed gcc-core?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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