From: rdparker AT butlermfg DOT org (Parker, Ron) Subject: RE: cp/mv/rm problems with .exe extension filenames 25 Sep 1998 06:32:40 -0700 Message-ID: <199809241720.KAA12546.cygnus.gnu-win32@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain To: "'gnu-win32 AT cygnus DOT com'" Actually the .exe is appended to executable with or without a dot in the name. I discovered this while building teTeX. It built an xdvi.bin.exe and a couple others. -----Original Message----- From: Arne Glenstrup [mailto:panic AT diku DOT dk] Sent: Wednesday, September 23, 1998 9:16 AM To: gnu-win32 AT cynus DOT com Subject: Re: cp/mv/rm problems with .exe extension filenames 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 <