X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Tim Boston Newsgroups: comp.os.msdos.djgpp Subject: Re: LFN support for XP? Date: Mon, 10 Nov 2003 12:36:14 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <3FACD610 DOT 834713DD AT phekda DOT freeserve DOT co DOT uk> In-Reply-To: <3FACD610.834713DD@phekda.freeserve.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT supernews DOT com Lines: 58 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I'm using the default install of DJGPP 2.03 currently available from www.delorie.com. If I create a file called test.c like so: int main() { return 0; } ...this compiles fine. If I rename the file to testtesttest.c and compile it, I get this: cc1.exe: testtesttest.c: No such file or directory (ENOENT) Changing the LFN setting in DJGPP.ENV doesn't affect anything, nor does manually setting LFN=y (or LFN=n) as an environment variable prior to compiling... Tim. Richard Dawe wrote: > Hello. > > Tim Boston wrote: > >>I can't for the life of me get DJGPP to recognize long filenames under >>XP. I've fiddled with the LFN environment variable, but to no avail -- >>GCC (3.3.2) can't find files > 8.3. >> >>Although I've been reading around (DJGPP FAQ and here), I'm still not >>even sure if there IS support and I'm doing something wrong, or there >>simply CANNOT BE long filenames with DJGPP+XP. >> >>Help? Thanks in advance! > > > It should work fine with Windows XP. I believe several of the djgpp-workers > (DJGPP's developers) use Windows XP. IIRC LFN support was one of the major new > features of Windows 2000 for DOS users. > > Could you post an example of gcc failing to work, please? That might help > diagnose the problem. > > It's also possible that there are some bugs in DJGPP 2.03 that are fixed in > the development version of DJGPP. Please see Andrew Cottrell's testing page > for packages built with the development version of DJGPP: > > http://clio.rice.edu/djgpp/win2k/main_204.htm > > These may work better on Windows XP. > > You may wish to post the gcc output, before downloading a lot of packages. > > Regards, >