delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/17/02:01:16

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Start at the Beginning
Date: Mon, 16 Mar 1998 18:21:33 -0500
Organization: Two pounds of chaos and a pinch of salt.
Message-ID: <350DB3FD.5ABC@cs.com>
References: <350B4D4A DOT B4BAFF9C AT mail DOT nprg DOT com>
NNTP-Posting-Host: ppp232.cs.com
Mime-Version: 1.0
Lines: 29
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Michele Fox wrote:
> 
> 1)compile - ans. "Compiling:hello.cpp" "hello.cpp(1) In file include
> from hello.cpp.1:
> c:/djgpp/lang/cxx/iostream.h(31) Error: streambuf.h:  No such file or
> directory
> There were some errors

There are two possibilities which apply to gcc 2.8.0 only:

 - You unzipped the DJGPP files under Windows 95 with a utility that
does not understand Windows 95 long filenames.  In this case, you should
make sure that you have SET LFN=N in your environment.
 - If you did unzip with long filenames preserved, you must SET LFN=Y in
your environment to compile programs under Windows 95 using gcc 2.8.0.

This problem happens because gcc 2.8.0 uses long filenames.  See chapter
8.2 of the DJGPP Frequently Asked Questions list for a detailed
explanation of how to set up Windows 95 so that you can use DJGPP in
both LFN and non-LFN environments.

hth
-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Democracy is based on the assumption|
|       aka Fighteer I       | that a million men are wiser than one|
|   mailto:fighteer AT cs DOT com   | man.  How's that again?  I missed    |
| http://www.cs.com/fighteer | something."    - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


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