X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sat, 05 Jan 2002 21:21:48 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <7377-Sat05Jan2002212148+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3C373E91.5D21628F@yahoo.com> (message from CBFalconer on Sat, 05 Jan 2002 18:49:31 GMT) Subject: Re: c++ with djgpp without long filenames References: <2945-Sat05Jan2002145303+0200-eliz AT is DOT elta DOT co DOT il> <3C373E91 DOT 5D21628F AT yahoo DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: CBFalconer > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 05 Jan 2002 18:49:31 GMT > DJ-Gateway: from newsgroup comp.os.msdos.djgpp > Reply-To: djgpp AT delorie DOT com > X-Mailing-List: djgpp AT delorie DOT com > X-Unsubscribes-To: listserv AT delorie DOT com > > Eli Zaretskii wrote: > > > > > From: Dirk Groeneveld > > > Newsgroups: comp.os.msdos.djgpp > > > Date: Sat, 05 Jan 2002 13:15:13 +0100 > > > > > > I recently installed djgpp on a native-FreeDOS machine (no emulator or > > > anything). Everything went fine. > > > Everything but the C++ header files. Since most of the filenames are longer > > > than 8.3, they got truncated and the compiler can't find them any more. > > > > The truncation is not the reason; I'm using the C++ compiler on a > > plain DOS system where all file names are truncated, and don't have > > any trouble. Things are set up to make it work; in particular, when a > > compiler tries to open a file like "streambuf", the OS silently > > truncates that name to "streambu", and the file with the truncated > > name is found. > > > > So please don't assume the truncation is the reason. Instead, please > > post here the exact command you used to compile you program and the > > exact text of any error messages you saw, and someone will help you > > resolve the problem. > > Your are, I believe, assuming that the W95x registry patch for > truncated names was in effect when the file/directory etc. was > created. I was talking about plain MS-DOS, no Windows at all. Nothing, not even dual-boot. The OP mentioned ``a native-FreeDOS machine'', so I assumed that the installation was done on FreeDOS, not on Windows. He also talked about truncated file names, whereas `stream~1' can hardly be described as ``truncation''... But yes, if the files were unzipped on Windows 9X and then the machine booted into FreeDOS, this would be a possible reason for the problem.