Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 1 Sep 2005 23:53:19 +0200 (MET DST) From: Angelo Graziosi To: Cygwin List Subject: Re: xmkmf resuling in bad search path for std includes? In-Reply-To: <6.2.1.2.0.20050831214308.050b59d0@pop.prospeed.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.2, Antispam-Data: 2005.9.1.28 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_CRUFT 0' On Wed, 31 Aug 2005, Larry Hall wrote: > At 06:35 PM 8/30/2005, you wrote: > > >According to Larry Hall on 8/30/2005: > > > >> According to Thomas Chadwick on 8/30/2005: > > > > >>> As I see it, either xmkmf is setting up the wrong search path, or > >>> something is wrong with my gcc installation (since make depend is > >>> looking in 3.3.3/include but the files are located in 3.4.4/include). > >> > >> > >> Sounds like the latter. You'll need to get rid of all references to > >> 3.3.3. > > > > > >I have got similar warnings building CERNLIB with g77 and other > >applications that seem to work, i.e. I have ignored these warnings. > > > >With GCC 3.4.4 on cygwin there is no 3.4.4 version for GPC, the Pascal > >compiler, so when one upgrades from 3.3.3 to 3.4.4 in cygwin remains the > >referenfes to gcc 3.3.3 regarding GPC pakages 3.3.3 > >(for example /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/ which contains > >gpcpp.exe, gpc1.exe, include/ etc.). > > > >>From the mailing list seems that there is some incompatibility between GPC > >3.3.3 and GCC(gcc, g++, g77...) 3.4.4, so that if one should work with > >GPC, one must stay with 3.3.3 and not upgrades to 3.4.4. > > > > > >Does this mean that if one does not use gpc one should unistall GPC 3.3.3 > >when upgrading to GCC 3.4.4? > > > From looking at the gpc package, I don't see anything in the include > directory that is likely to cause a problem. But, if someone has gpc > installed but isn't using it, it would be safer and cleaner to get rid > of the installation regardless of whether gcc 3.3.3 or 3.4.4 is installed. > But that's just my opinion. > > I have uninstalled GPC package and removed the /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/ directory so that now there is not any reference to 3.3.3 version of GCC (not in the registry not on the disk). After this I have tried new builds of CERNLIB with 3.4.4-1 and also in this case there is the warning like this: ---------------------------------------------------- makedepend: warning: ...... (reading /usr/include/sys/unistd.h, line 13): cannot find include file "stddef.h" not in /usr/X11R6/include/stddef.h not in /usr/local/lib/gcc-include/stddef.h not in /usr/include/stddef.h not in /usr/include/w32api/stddef.h not in /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/include/stddef.h ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------------------------- From where the reference to /usr/...../3.3.3/.... ? (Regarding the problems of GPC package there was a post to this mailing list, after releasing 3.4.4-1, from a user that got them and he was invited to downgrade to GCC 3.3.3 if he needed to work with GPC.) Best regards, angelo. -- 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/