[cygwin|mingw] ld --verbose (w/o .o) creates file

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Mar 28 22:17:00 GMT 2014


A possibly unforeseen side-effect has resulted from the addition of 
default-manifest support for PE targets.  Usually, a simple 
'[$target-]ld --verbose' without any other arguments prints the linker 
script but does not create a file.  However, with the new Cygwin 
binutils (20140326 snapshot), an a.exe file is created.  I presume this 
was not intentional.  Could the previous behaviour be restored (IOW do 
not include default-manifest.o if there is nothing else to link)?

Cygwin Ports

More information about the Binutils mailing list