delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/28/07:30:52

Newsgroups: comp.os.msdos.djgpp
From: rd5718 AT irix DOT bris DOT ac DOT uk (Rich Dawe)
Subject: Re: Long file names
Message-ID: <Es4Cw1.DMA@fsa.bris.ac.uk>
Lines: 38
Sender: usenet AT fsa DOT bris DOT ac DOT uk (Usenet)
Organization: University of Bristol, England
References: <354522FD DOT 26DB9769 AT iw DOT edwpub DOT com>
Date: Tue, 28 Apr 1998 10:24:01 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

James_Ash (James_Ash AT iw DOT edwpub DOT com) wrote:
<snip>
: I am attempting to make a set of C++ sources that I downloaded from a
: web site. The sources use long file names all over the place. From
: reading the Readme.dos file for make 3.7.6.1 that gnu make supports long
: file names when run on Win 95 in a DOS box. However, this doesn't seem
: to be the case.

	Have you tried typing 'SET LFN=Y' before running make at the DOS
prompt? This tells all DJGPP-compiled programs that they should use long
filenames (unless they are written to do otherwise). This should solve
your problem.

	This is explained in the FAQ, which you should be able to obtain
from the place where you downloaded DJGPP. If it's not, take a look in:

	ftp://sunsite.doc.ic.ac.uk/packages/simtelnet/gnu/djgpp/v2/

It should be called faq210.zip or something similar.

<snip>
: By the way, I have tried this on NT as well with the same result. I have
: also unzipped the djgpp zip files (make, gcc, bnu, etc ) using pkunzip
: as well as info-zip, with identical results.

	NT doesn't provide support for long filenames to DOS programs, so
long filenames can't be used *at all* by DOS programs under NT.

	Hope this helps,

	Rich Dawe

-- 
==============================================================================
              Rich Dawe - 3rd year Physicist @ Bristol Uni, UK
E-mail: rd5718 AT bristol DOT ac DOT uk        Web pages: http://irix.bris.ac.uk/~rd5718/
==============================================================================

- Raw text -


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