Mail Archives: djgpp/1999/09/03/09:27:51
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 -