From: hhemken AT cell DOT cinvestav DOT mx (Heinz Hemken) Subject: Re: Default linker output filename 7 Nov 1996 08:23:24 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <3281E8F8.1231.cygnus.gnu-win32@cell.cinvestav.mx> References: <199611071358 DOT IAA13775 AT cdsp DOT neu DOT edu> Reply-To: hhemken AT cell DOT cinvestav DOT mx Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (WinNT; I) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Patrick Doyle wrote: > That works fine for simple cases. Unfortunately, there are a lot of > makefiles and configure scripts for existing software that have: > gcc -o blabla blabla.c foo.c bar.c > which makes porting these packages to W95 difficult. Not difficult > in the sense of "how do I make this work", just difficult in the sense > of "I have to repeatedly make this change in _every_ program I port to > W95... gee it would be nice if some combination of gnu-win32/ld/gcc > would do this for me". Yet another little pointless omission by MS. These days, there doesn't seem to be much of a point to insist that executables have .exe, .com or ..bat extensions. Short of modifying every makefile you receive, a pain at best, it would have been better to be able to check the UNIXoid file properties, which don't really exist in W95, though bash does some sort of simulation. Find the latest file with "executable" turned on and give it an .exe extension. However, if the system were able to mark something as executable, there wouldn't be any point in changing the extension to .exe. Worse, I think (?) the same is true for NT, an ostensibly *real* OS. I think what you want is some kind of -exe flag that tacks on the extension to every executable that gets generated. A kludge, but what the hell. -- Heinz Hemken http://www.cell.cinvestav.mx/hh/bchh.html - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".