cygwin ld --out-implib treats informational message as warning

Yitzchak Scott-Thoennes sthoenna@efn.org
Fri Jan 27 11:28:00 GMT 2006


In addition to cluttering up stderr, the way this was,

 ld --fatal-warnings --out-implib=xxx

would never succeed.

I actually think the message is somewhat pointless, but leave
it to someone else to decide to remove.  FWIW, dlltool issues
this same message only if --verbose.

2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>

	* pe-dll.c (pe_dll_generate_implib): Issue "Creating library file:"
	as informational message, not warning

--- ld/pe-dll.c.orig    2005-06-10 13:00:21.000000000 -0700
+++ ld/pe-dll.c 2006-01-27 01:37:32.701809600 -0800
@@ -2237,7 +2237,7 @@ pe_dll_generate_implib (def_file *def, c
     }
 
   /* xgettext:c-format */
-  einfo (_("Creating library file: %s\n"), impfilename);
+  info_msg (_("Creating library file: %s\n"), impfilename);
 
   bfd_set_format (outarch, bfd_archive);
   outarch->has_armap = 1;



More information about the Binutils mailing list