From: panic AT diku DOT dk (Arne Glenstrup) Subject: Re: cp/mv/rm problems with .exe extension filenames 24 Sep 1998 06:06:20 -0700 Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: gnu-win32 AT cynus DOT com Hi, Has anybody found a REALLY good solution to this problem yet? I agree with Steven that Cygwin32 has a serious compatibility problem here: lots of makefiles will break, i fear. So here's what I have done in my case to circumvent the problem: 1) Wrote an autoconf macro: dnl MYMAC_SYS_EXE dnl ------------ dnl dnl If the compiler generates foo.exe when instructed to generate foo, dnl set $exe to `.exe', else set $exe to `' AC_DEFUN(MYMAC_SYS_EXE, [dnl AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_CACHE_CHECK([whether the C++ compiler (${CXX}) generates .exe files], mymac_cv_sys_exe,[dnl cat > conftest.$ac_ext <