www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/10/04:34:27

Date: Mon, 10 May 1999 11:32:02 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Peter Zander <zander AT lysator DOT liu DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: BUG: Long filenames and ypath
In-Reply-To: <37368684.496677234@mail.ntc.nokia.com>
Message-ID: <Pine.SUN.3.91.990510112538.10461A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 10 May 1999, Peter Zander wrote:

> Thank you for answering. The LFN setting does not make it work. Now I
> got it working with cygwin make 3.75 (Im using Win NT 4.0).

You didn't say you were using NT in the previous message.  I'd guess that 
the long file names were created by some non-DJGPP program.  If so, their 
short 8+3 aliases have those pesky numeric tails attached to them, and 
that fails the DJGPP Make because short aliases is all DJGPP programs can 
see on NT.

> R:\proj\Make>djgppmake -d -p -r -f gurka > r:\log.txt
> djgppm~1.exe: *** No rule to make target `dbgmodule.c', needed by
> `foo'.  Stop.

In this case, the short alias of `dbgmodule.c' is something like 
`dbgmod~1.c' (you can verify this with "dir /x"), whereas Make looks for 
`dbgmodul.c'.  That's why it fails.

If you want the DJGPP Make to work on NT with such file names, you need 
to disable the numeric tails (the DJGPP FAQ explains how).

> Considering target file `foo'.
>  File `foo' does not exist.
>   Considering target file `dbgmodule.c'.
>    File `dbgmodule.c' does not exist.

See?  It says the file does not exist.

- Raw text -


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