delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/16/17:06:30

From: ritchiepj AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with #include "longfilename.h"
Date: Fri, 16 Jun 2000 20:14:38 GMT
Organization: Deja.com - Before you buy.
Lines: 34
Message-ID: <8ie1qs$8e1$1@nnrp1.deja.com>
References: <8idcat$n0u$1 AT nnrp1 DOT deja DOT com> <394A82CA DOT 22CB41BE AT cyberoptics DOT com>
NNTP-Posting-Host: 209.84.102.142
X-Article-Creation-Date: Fri Jun 16 20:14:38 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
X-Http-Proxy: 1.1 x70.deja.com:80 (Squid/1.1.22) for client 209.84.102.142
X-MyDeja-Info: XMYDJUIDritchiepj
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <394A82CA DOT 22CB41BE AT cyberoptics DOT com>,
  rudd AT cyberoptics DOT com wrote:
> ritchiepj AT my-deja DOT com wrote:
>
> > When using the -MM option, to create dependencies, and an include
> > filename is not in dos 8.3 format, I get an error stating the
filename
> > does not exist.  If I shorten the filename, it works as expected
(see
> > example below). Changing all the customer's source files is not a
> > desirable option.  Are there any other options?
>
> Hmm... seems to work OK with long file names on my Win 95 machine,
using
> gcc 2.95.2 running in a DOS box.  Have you set LFN=y in the
environment?
>
> -Eric Rudd
>
>

Yes, LFN=y.  BTW, the test.c file only contains a single line of code:
First Example -
#include "longfilename.h"

Second Example -
#include "filename.h"

And the files longfilename.h and filename.h both exist.
Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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