www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/20:40:29

Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: "George Foot" <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: john_maple AT yahoo DOT com
Date: Fri, 28 Aug 1998 01:37:14 +0000
MIME-Version: 1.0
Subject: Re: Problem running DJGPP v2
Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk
CC: djgpp AT delorie DOT com
Message-Id: <E0zCCYs-0004tp-00@sable.ox.ac.uk>

On 27 Aug 98 at 18:09, john_maple AT yahoo DOT com wrote:

> I downloaded DJGPP v2 last night, selecting the files with the ZipPicker at
> the DJGPP web site.  Everything unzipped okay, but I am having some problems
> with the basic setup.  I am trying to run in a DOS window under Win95.
> 
> First, I can't seem to get my autoexec file to run the 2 lines that must be
> added to point to the DJGPP environment.  I'm not sure why... I can open up a
> DOS shell and type these lines in, and then everything works, but adding it to
> the autoexec file has no effect.  I am adding them into the very beginning of
> the file, even before McAffee does its virus scan.  No effect.

It's impossible to say unless you post here your autoexec.bat file.

> Second, once I entered the lines from the DOS prompt, I went into RHIDE and
> typed in the famous Hello World program.  When I went to "Build All" from
> RHIDE, it choked on the very first line, "#include <iostream.h>" and gave me
> the following build error:
> 
> Compiling: hello.cc
> hello.cc(1) In file included from hello.cc;1:
> c:/djgpp/lang/cxx/iostream.h(31) Error: streambuf.h: No such file or directory
> (ENOENT)
> 
> Can anyone help me?  I would really like to get this set up.  TIA.

"SET LFN=y" as well as setting DJGPP and your path.  If you're
already doing that, make sure you used a Windows unzip program that
can recreate long filenames.  If you didn't, either reunzip
everything with a Windows unzip program or look in the .mft files
for any filenames that don't fit in DOS's 8.3 style naming system,
and rename the files to their full long filenames by hand. 

I actually needed to do this renaming quite a lot, so I automated the
process.  I've just uploaded the result; it's a program that scans
specified manifest files and checks that the named files haven't been
mangled by a DOS unzip program, offering to rename them if they have.
The zip file contains source and binary; unzip it expanding
subdirectories, from your djgpp directory, and type "lfnfix -h" for
help.

    http://users.ox.ac.uk/~mert0407/lfnfix.zip

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


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