This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: xmkmf resuling in bad search path for std includes?



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:
> 
> <snip>
> 
> >>> 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/


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