.exe extension on Windows
.exe extension on Windows
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Can somebody confirm how the executable extensions behave on Windows/Cygwin? It seems that the following is true: cc -o foo ... creates a file `foo.exe'. cc -o foo.exe ... also creates a file `foo.exe'. Is that correct? It also seems that the make targets need to be written like pg_passwd$(X): rather than pg_passwd: because otherwise you're not really updating the target of the rule. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
Re: [HACKERS] .exe extension on Windows
От:
Yutaka tanida <yutaka@marin.or.jp>
Дата:
On Mon, 26 Jun 2000 03:41:12 +0200 (CEST) Peter Eisentraut wrote: > Can somebody confirm how the executable extensions behave on > Windows/Cygwin? It seems that the following is true: > > cc -o foo ... > > creates a file `foo.exe'. > > cc -o foo.exe ... > > also creates a file `foo.exe'. Is that correct? Yes. > It also seems that the make targets need to be written like > > pg_passwd$(X): > > rather than > > pg_passwd: > > because otherwise you're not really updating the target of the rule. I agreed this. ----- Yutaka Tanida