www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/24/16:15:48

From: "DeHackEd" <Not DOT given AT out>
References: <35B89EE7 DOT 33B22151 AT sirma DOT bg400 DOT bg>
Subject: Re: Help me!
Date: Fri, 24 Jul 1998 16:05:05 -0400
Lines: 33
Message-ID: <#dac25zt9GA.302@upnetnews03>
Newsgroups: comp.os.msdos.djgpp
NNTP-Posting-Host: d5-bn46-blvl-pda.attcanada.net [142.194.137.197]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

This qualifies on the Newsgroup top 10 problems. :) It has to do with long
filenames and the program that unzipped the ZIP files.

For example, if WinZIP extracts your zips, it names the file stream~1.h (Win95
style long names). If you inform the compiler of this (djgpp.env: LFN=y) then
there will be no problem.

PKUNZIP for dos will truncate the filename to 8 positions to STREAMBU.h which is
what you did. Djgpp.env LFN=n and any too long file names will be cut off at 8
letters.

Any conflicts in LFN vs. the extractor can lead to errors on long filename
problems.
--
"DeHackEd"

My Email address in the header is fake (spammers). Email me at this address:

http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked
Stenly wrote in message <35B89EE7 DOT 33B22151 AT sirma DOT bg400 DOT bg>...
>Excuse me for bothering you
>but I have the following problem:
>I've installed DJDPP on a Win95/Dos7 platform and
>problems arised with long file names!
>After including <iostream.h> which in turn includes <streambuf.h>
>gcc can't find <streambuf.h>
>I've experimented by truncating streambuf.h to streambu.h
>and changing the include in iostream.h properly.
>It worked!
>So what have I done wrong?
>May be downloaded incorrect version of gcc (for DOS 6.2 or so)?


- Raw text -


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