Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Richard Stanton" To: Subject: RE: gcc can't find include files under Windows 2000 Date: Sat, 10 Jun 2000 10:08:21 -0700 Message-ID: <000101bfd2fe$7b103890$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 Importance: Normal In-Reply-To: <20000610123515.C1214@cygnus.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 That did it. Thanks a lot. It allowed me to go on to find the next problem - gdb works OK at the command line, but called from within EMACS it seems to hang: Current directory is c:/projects/leases/ GNU gdb 20000204 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) break main Breakpoint 1 at 0x401110: file leaseutil.c, line 44. (gdb) run Starting program: /projects/leases/testlease.exe 77e80000:C:/WINDOWS/system32/KERNEL32.dll 61000000:c:/cygnus/bin/cygwin1.dll 77db0000:C:/WINDOWS/system32/ADVAPI32.DLL 77d40000:C:/WINDOWS/system32/RPCRT4.DLL and it just sits here forever, never giving me back control. Richard Stanton > -----Original Message----- > From: Chris Faylor [mailto:cgf AT cygnus DOT com] > Sent: Saturday, June 10, 2000 9:35 AM > To: cygwin AT sourceware DOT cygnus DOT com > Cc: stanton AT haas DOT berkeley DOT edu > Subject: Re: gcc can't find include files under Windows 2000 > > > On Sat, Jun 10, 2000 at 09:28:37AM -0700, Richard Stanton wrote: > >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. > > You probably need to do something like: > > mount [-b] c:\cygwin / > > I assume that your /usr directory is located there. > > The -b is recommended, but optional. > > cgf > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com