delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/16/10:52:19

From: ritchiepj AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Help with #include "longfilename.h"
Date: Fri, 16 Jun 2000 14:07:39 GMT
Organization: Deja.com - Before you buy.
Lines: 21
Message-ID: <8idcat$n0u$1@nnrp1.deja.com>
NNTP-Posting-Host: 209.84.102.142
X-Article-Creation-Date: Fri Jun 16 14:07:39 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
X-Http-Proxy: 1.1 x56.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

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?

Thanks,
pritchie AT logikos DOT com

Example:

gcc -MM test.c
test.c:1: longfilename.h: No such file or directory (ENOENT)

gcc -MM test.c
test.o: test.c filename.h



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