Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <388F943E.298A0A21@veritas.com> Date: Wed, 26 Jan 2000 16:41:34 -0800 From: Bob McGowan Organization: VERITAS Software X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Prabhakar Goyal CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Cygwin on NT 2000 References: <0cda01bf685a$f6f240c0$623567c0 AT isi DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Prabhakar, I just did a quick check on my system (Cygwin CD 1.0, no updates, NT2K Server build 2195). The TMP variable is being set to match the 8.3 conventions of the older dos environment. If you go to 'Control Panel->System', select the 'Advanced' tab and then the 'Environment Variables' button, you will see TMP defined (upper section). The definition is a path that contains spaces. It happens that Windows (like UNIX) will choke on a single name with spaces, unless it is quoted or munged to the 8.3 format. The definition of TMP is not quoted, so to prevent problems, the system shortens it to the 8.3, using ~# in the 7th and 8th positions. The cygwin command cygpath -u "$TMP" resulted in a path with the ~# preserved, which does not map to a real directory. You have two choices: 1. Reset the TMP variable to some other value, either in /etc/profile or in your personal .profile. 2. Edit the value in the NT environment section (see above). The actual definition is something like "%USERPROFILE%\... You want to put double quotes around the entire string. The value will no longer have the tilde in it, but the spaces will be preserved, meaning you will still have problems unless all references to $TMP are quoted (double quotes). But at least the path names will be valid. Bob Prabhakar Goyal wrote: > > Is anybody using bash/gmake on NT 2000? By default NT 2000 set TMP variable > to user specific directory which contains ~ . gmake chokes on it. > > thanks, > Prabhakar > > ---------------------------------------------------------------------------- > ------------------------------------ > Prabhakar Goyal Voice-mail: (408)-542-1630 > Integrated Systems Inc., 201 Moffett Park Drive, Sunnyvale, CA 94089 > e-mail: pgoyal AT isi DOT com http://www.isi.com > ---------------------------------------------------------------------------- > ------------------------------------ > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan AT veritas DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com