From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP on drive c: and sources on drive d: PROBLEM Date: Fri, 27 Mar 1998 18:46:41 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 42 Message-ID: <351C3A61.D6D@cs.com> References: NNTP-Posting-Host: ppp246.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Leonid Pauzner wrote: > > without GUI it happens to work with all my dos program, but DJGPP: > I always got "make.exe: *** no targets. stop." > First I thought about LFN, but the settings was not changed > and files are 8+3. > > After all, I have realized that the only thing was changed: > I moved all my sources to another drive (d:) > I copy them back to c: there compiler resides - and no more problem now! > > I guess this strange bug come from DJGPP's UNIX nature: > only one logical drive there... This cannot be true; I have been able to compile across multiple drives for as long as I've used DJGPP. The GNU source code may be Unix-based, but many years of development have ironed out 99% of the DOS-related peculiarities (although more seem to be found in each release). In an example of the reciprocal nature of free software development, many of these DOS-specific patches can also be found in stock gcc. Anyway, please describe your configuration and your project in greater detail; it may be that one or more environment variables contain relative rather than absolute paths, or that your makefile specifies absolute rather than relative paths. Can you compile programs on other drives without using Make (i.e., by calling gcc manually)? Is this other drive a networked drive? If so, what NOS (Network Operating System) are you using? If nothing you try seems to work, please read chapter 6.12 of the DJGPP FAQ for instructions on reporting your system configuration. P.S.: DJGPP also supports Windows 95 long filenames, so you are safe in using them if you want to (remember to SET LFN=Y and see chapter 8.2 of the FAQ for additional LFN-related recommendations). -- --------------------------------------------------------------------- | John M. Aldrich | "A 'critic' is a man who creates | | aka Fighteer I | nothing and thereby feels qualified | | mailto:fighteer AT cs DOT com | to judge the work of creative men." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------