Newsgroups: comp.os.msdos.djgpp From: manni DOT heumann AT gmx DOT de (Manni Heumann) Subject: Re: compilation errors References: <389926E3 DOT 73ABF15A AT flash DOT net> X-Newsreader: News Xpress 2.01 Date: Thu, 03 Feb 2000 08:08:10 GMT NNTP-Posting-Host: dhcp33-226.uni-bielefeld.de Message-ID: <38993770@news.uni-bielefeld.de> X-Trace: 3 Feb 2000 09:08:16 +0200, dhcp33-226.uni-bielefeld.de Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <389926E3 DOT 73ABF15A AT flash DOT net>, Sergei Severin wrote: >i am new to gjgpp. it was suggested for one of my cs classes. i >downloaded and configured the latest distribution on my win nt box. now >as long as i use the standard .h headers, i can compile and build my >programs just fine. if, however, i attempt to use something like [SNIP but one example] >c:/djgpp/lang/cxx/iterator:38: stl_iterator.h: No such file or direct >ory (ENOENT) > > >all the files above that the compiler cannot find do exist. >my env variables seems to be set according to the instructions. >does anyone know what else needs to be done to make it work with non .h >headers? > >thanks > You are on the wrong track. This has nothing to do with .h or not .h. What you have is a long file name problem. WinNT does not support them in it's DOS emulation. You probably unzipped your distribution using a program that knows about long filenames. You should either force it to use DOS 8.3 names or use a program that doesn't even know about lfn. See section 8.3 of the FAQ. -- Manni