Mail Archives: cygwin/2000/06/10/14:46:39
On Sat, Jun 10, 2000 at 09:45:13AM -0700, Richard Stanton wrote:
>A followup...
>
>I reset the mount / to point to c:\cygnus (which it was pointing to before -
>I forgot I changed it to see if I could solve the problem that way), and
>here's what happens now:
>
>-I..\h DOES work
>
>-I/projects/h doesn't work (this is what I had in my makefile, and it works
>under W95)
Out of curiousity, does 'ls -l /projects' work? I bet it doesn't.
It sounds like you have to mount c:\projects as /projects.
cgf
>-I\projects\h doesn't work
>
>-Ic:\projects\h DOES work
>
>Since I can find a version that does work, I suppose I can live with this,
>but why does this work differently under W2000?
>
>Richard Stanton
>Associate Professor of Finance
>Haas School of Business
>U.C. Berkeley
>545 Student Services Building #1900
>Berkeley, CA 94720-1900
>
>tel. (510) 642-7382
>fax. (510) 643-1420
>email: stanton AT haas DOT berkeley DOT edu
>Web: http://haas.berkeley.edu/~stanton
>
>
>
>> -----Original Message-----
>> From: Richard Stanton [mailto:stanton AT haas DOT berkeley DOT edu]
>> Sent: Saturday, June 10, 2000 9:29 AM
>> To: cygwin AT sourceware DOT cygnus DOT com
>> Subject: gcc can't find include files under Windows 2000
>>
>>
>> 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 AT sourceware DOT cygnus DOT com
--
cgf AT cygnus DOT com Cygnus Solutions, a Red Hat company
http://sourceware.cygnus.com/ http://www.redhat.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -