delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/25/20:07:02

Date: Sat, 26 Feb 2000 06:06:01 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT crosswinds DOT net>
X-Sender: root AT darkstar DOT grendel DOT net
To: djgpp AT delorie DOT com
cc: jnh231 AT swbell DOT net
Subject: Re: Hello World
In-Reply-To: <20000225141230.18063.00001966@ng-cf1.aol.com>
Message-ID: <Pine.LNX.4.10.10002260549510.820-100000@darkstar.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 25 Feb 2000, Emssks wrote:

> I'm new at this also but i might have an answer. I noticed when running djgpp
> or rhide from windows that it does not recognize files over 8 characters in
> length. 

Maybe you are using a earlier version of DJGPP like version 2.01. Because
version 2.01 comes with long file name support disbled by deafult. To
enable it just set the environment variable LFN to y by typing "set LFN=y"
without the quotes at the dos prompt while running under windows, then
hopefully your problem will be OK.

To find out what your djgpp version is please type gcc -v and you will get
the version.

The latest version is DJGPP v2.03 which I think you should download and
install..

>i changed the filename to streambu.h and i changed the file iostream.h
> to look for streambu.h instead of streambuf.h. it worked and was compiled but
> now i can't get the make program to work. 

It isn't a good idea to go ahead and change the file names as this might
lead to additional problems. Also doing this is not adressing the _real_
problem which needs to be found out and solved. So please don't do this as
the name changing might cause other problems which would make things even
more difficult.

>try this and let me know if it works
> for you too. also let me know of any more help.

Could you please post us your djgpp version. please type gcc -v and post
the output.

It would be nice if you could also post the output when you compile the
program. just add the -v swith ( "gcc hellp.cpp -o hello.exe -v") and
please post the output

Also please while under windoze goto the djgpp\lang\cxx directory (where
the iostream.h etc headers are present) and type "dir str*.*" (without the
quotes)  and post the output.


> email me at jnh231 AT swbell DOT net

Done!

Grendel 

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

- Raw text -


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