X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs Date: Fri, 3 Sep 1999 09:53:11 +0300 (WET) From: Andris Pavenis To: "Joe C." cc: djgpp AT delorie DOT com Subject: Re: DJGPP/Long filename problems in Windows NT/DOS box :-( In-Reply-To: <7qmhn5$v0n$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 2 Sep 1999, Joe C. wrote: > I'm having a problem running the djgpp/gpp compiler on Windows NT. > I've looked at a few posts and tried the suggestions regarding long > filenames, but so far it's still not working. > > Here's what I've done: > > Used winzip to unzip djdev202.zip, gcc295b.zip and gpp295b.zip. When I > look at the files in Win Explorer, or in a DOS box with DIR I can see > the long filenames just fine. But when I try to "vi" or "edit" the > files, like "streambuf.h" I get no file - I can only edit it as > "stream~1.h"! When I tried to compile this simple program to test: > > #include > use namespace std; > > int main() { > > cout << "this is a test" << endl; > > return 0; > } > Tested with GCC-2.95.1 #include using namespace std; /* Note: using instead of use */ int main() { cout << "this is a test" << endl; return 0; } > > test.cpp:2: syntax error before `namespace' > See above > gpp.exe: installation problem, cannot exec `as': No such file or > directory (ENOENT) install binutils > > Not sure of the next step, or if DJGPP/gpp will even run on Windows NT > at all. Any suggestions appreciated. > It works. There are also some possibility to use LFN. See FAQ (3.3) for details. But be prepared there may be problems