Date: Tue, 7 Oct 1997 14:34:37 +0200 (IST) From: Eli Zaretskii To: Jong-Kae Fwu cc: djgpp AT delorie DOT com Subject: Re: Help !! DJGPP/MKS In-Reply-To: <3438F70F.62C5EDAE@research.bell-labs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 6 Oct 1997, Jong-Kae Fwu wrote: > 1. The gcc can not recognize the file/directory names which are longer > than 8 characters. Do you have DJGPP version 2.01? If you only have v2.0, please download and install 2.01, as v2.0 had some subtle bugs in long file name support. Also, make sure you have the latest gcc from gcc2721b.zip archive. Did you set LFN=y in the environment? DJGPP comes by default with long file names (LFN) support disabled; setting LFN=y enables it. > 2. The gmake can not execute the compiling commands which are longer > than 128 bytes. Which version of GNU Make do you use? Please use Make 3.75 or later; it supports long command lines in more cases, including with Unix-like shells such as one in the MKS toolkit. > As my understanding, these are the restrictions caused by DOS's > command.com. No, the latest DJGPP ports of GNU Make almost never call COMMAND.COM, precisely because it cannot grok long command lines. > Since I need to use gmake and gcc instead of MKS/make, is there > anything I can do to solve this problem (such as modified the > configuration files in MKS, e.q. compiler.ccg or starup.mk ) ?? I don't know anything about MKS configuration. Please make sure you have the latest DJGPP software and Make port installed, as explained above. If the problems persist after that, please post specific details, e.g.: - a short Makefile that fails, and the error message(s) you get; - your environment listing (type "set > env.lst" from the DOS prompt and post the contents of env.lst), AUTOEXEC.BAT and CONFIG.SYS; You might also benefit from reading the file README.DOS in the Make distribution, it has some notes about Unix-style shell support.