Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: "Richard Stanton" <stanton@haas.berkeley.edu>
To: <cygwin@sourceware.cygnus.com>
Subject: gcc can't find include files under Windows 2000
Date: Sat, 10 Jun 2000 09:28:37 -0700
Message-ID: <000001bfd2f8$edbb4a20$60cc90c6@MORTGAGE2>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal
In-Reply-To: <960628539.25939.ezmlm@sourceware.cygnus.com>

I just upgraded my PC from W95 to W2000, and gcc (latest net version) has in
the process stopped being able to find include files specified using the -I
command line flag.

For example, my source file is in c:\projects\leases, and the include files
are in c:\projects\h.

Here's what happens:

C:\projects\leases>gcc -c -I..\h estlease.c
estlease.c:10: math.h: No such file or directory
estlease.c:11: stdlib.h: No such file or directory
estlease.c:12: stdio.h: No such file or directory
estlease.c:13: string.h: No such file or directory
estlease.c:17: parse.h: No such file or directory

C:\projects\leases>gcc -c -I\projects\h estlease.c
estlease.c:10: math.h: No such file or directory
estlease.c:11: stdlib.h: No such file or directory
estlease.c:12: stdio.h: No such file or directory
estlease.c:13: string.h: No such file or directory
estlease.c:17: parse.h: No such file or directory

C:\projects\leases>gcc -c -I/projects/h estlease.c
estlease.c:10: math.h: No such file or directory
estlease.c:11: stdlib.h: No such file or directory
estlease.c:12: stdio.h: No such file or directory
estlease.c:13: string.h: No such file or directory
estlease.c:17: parse.h: No such file or directory

Here's my mount table:

C:\projects\leases>mount
Device              Directory           Type         Flags
c:\cygnus\bin       /usr/bin            user         binmode
c:\cygnus\lib       /usr/lib            user         binmode
c:\usr\local        /usr/local          user         binmode
\\.\tape0:          /dev/st0            user         textmode
\\.\tape1:          /dev/st1            user         textmode
\\.\a:              /dev/fd0            user         textmode
\\.\b:              /dev/fd1            user         textmode
c:                  /                   user         textmode

I think I've seen something like this discussed, but can't find it in the
archives. Thanks for answering the same problem twice if so.

Richard Stanton


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

