delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/11/06:20:51

Date: Tue, 11 Aug 1998 13:20:37 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: ¤ý¤ô <h2owong AT hknet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Help on compiling C++
In-Reply-To: <35ce7a72.2374142@news.hknet.com>
Message-ID: <Pine.SUN.3.91.980811131911.9887F-100000@is>
MIME-Version: 1.0

On Mon, 10 Aug 1998, ¤ý¤ô wrote:

> I just install DJGPP and try to compile some simple source to test.
> C compile fine, but when I compile C++, error.....
> 
>    C:\DJGPP\walter>gcc test1.cpp -o test1.exe
>    In file included from test1.cpp:1:
>    c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or
>    directory  (ENOENT)

Set LFN=y in the environment, and it will work.

Also, note that you need to use gxx instead of gcc to link C++ program.  
This is described in the file readme.1st which is available from the same 
place where you downloaded DJGPP.

- Raw text -


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