delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/03/09:27:51

X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs
Date: Fri, 3 Sep 1999 09:53:11 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: "Joe C." <jcam_0 AT my-deja DOT com>
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: <Pine.A41.4.05.9909030946550.62572-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


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 <iostream>
> use namespace std;
> 
> int main() {
> 
>         cout << "this is a test" << endl;
> 
>         return 0;
> }
> 

Tested with GCC-2.95.1

#include <iostream>
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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019