Mail Archives: djgpp/1999/09/02/19:32:34
|From: ||Nate Eldredge <neldredge AT hmc DOT edu>
|Subject: ||Re: DJGPP/Long filename problems in Windows NT/DOS box :-(
|Date: ||Thu, 02 Sep 1999 13:32:50 -0700
|Organization: ||Harvey Mudd College
|References: ||<7qmhn5$v0n$1 AT nnrp1 DOT deja DOT com>
|X-Trace: ||nntp1.interworld.net 936304384 62390 22.214.171.124 (2 Sep 1999 20:33:04 GMT)
|X-Complaints-To: ||usenet AT nntp1 DOT interworld DOT net
|NNTP-Posting-Date: ||2 Sep 1999 20:33:04 GMT
|X-Mailer: ||Mozilla 4.08 [en] (X11; I; Linux 2.2.12pre4 i586)
|To: ||djgpp AT delorie DOT com
|DJ-Gateway: ||from newsgroup comp.os.msdos.djgpp
|Reply-To: ||djgpp AT delorie DOT com
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:
> I read a post that said DJGPP does not have access to long filenames on
> Windows NT,
This is correct.
> so I tried the next suggestion which was to use pkunzip. I
> did this, and I got the 8.3 filename format (but without the annoying
> "~1" etc. ), set the LFN= to "n" in djgpp.env (also set it to "y"), and
> still got errors. This time the compiler says:
> test.cpp:2: syntax error before `namespace'
I don't think namespaces are completely implemented in GCC yet. (I
assume the code is correct, though I don't know enough C++ to be sure.)
> If I just change the "include/namespace" lines to "#include
> <iostream.h>" I get:
> gpp.exe: installation problem, cannot exec `as': No such file or
> directory (ENOENT)
You didn't install bnuNNNb.zip, which includes the assembler and other
vital passes of the compiler.
If you use the zip picker at www.delorie.com, it will tell you all the
zips you need.
neldredge AT hmc DOT edu
- Raw text -