delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/12/11:26:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 12 Dec 2002 11:26:34 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Allan Crook <Allan DOT Crook AT zytek DOT co DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: Problems with GCC and C_INCLUDE_PATH
In-Reply-To: <sdf893f6.032@MAIL.Zytek.co.uk>
Message-ID: <Pine.GSO.4.44.0212121122570.12239-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 12 Dec 2002, Allan Crook wrote:

> I'm having problems with GCC and the C_INCLUDE_PATH, if i add the path
> to the command line with -Iw:\source then all is ok, but if I add the
> same path to the environment variable and remove the -I from the command
> line it just will not see the header file, whats wrong??
>
> I get the following error:
>
> System__Public.h: No such file or directory
>
> this file is in w:\source,
>
> Please help!!!!

Hmm, let me get this straight: you're adding a Windows-style path to the
include path of the Cygwin gcc?

One obvious solution would be to change the path to POSIX, something like
"/cygdrive/w/source".  If you insist on using Windows-style paths, this
may be a quoting issue (you may have to quote your backslashes twice).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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