[PATCH,PR11280] Ping Solaris maintainers re: fix solaris-x-windows windres tool

Dave Korn dave.korn.cygwin@googlemail.com
Mon Feb 15 00:56:00 GMT 2010


    Hi Solaris maintainers/interested parties,

  Following on from the thread "Binutils 2.20 - Windres problems building
pthreads/libiconv on Open Solaris"(*), I have the following patch to propose
for Solaris hosts.

  In PR11280, cross-mingw windres is failing, because the default code page it
uses when none is specified on the command-line has the name "MS-ANSI", which
is not known to Solaris' libc.  It appears that "MS-ANSI" is a slightly
non-standard alias for "WINDOWS-1252", and this patch adds a -D option to the
solaris HDEFINES that overrides the 'default default setting' with the more
standard name.

  This has already been shown to fix PR11280, but I'd like solaris folk
(nobody's listed in MAINTAINERS?) to speak up, because as written it only adds
the new define for *-*-solaris2.11.  I don't have access to anything other
than an OpenSolaris (0906) VM, so I don't know if maybe/probably the pattern
should match a broader range of solaris hosts.  You can check by running
"iconv -l" and looking to see if it's included in the list of aliases or not.

bfd/ChangeLog:

	PR binutils/11280
	* configure.host (*-*-solaris2.11):  Add host define to select
	valid default code page for windres/windmc on solaris.

  Ok for trunk?

    cheers,
      DaveK
-- 
(*)  - http://sourceware.org/ml/binutils/2010-02/threads.html#00111
(**) - http://sourceware.org/bugzilla/show_bug.cgi?id=11280
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solaris-windres-cp.diff
Type: text/x-c
Size: 553 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100215/2d9fa1f3/attachment.bin>


More information about the Binutils mailing list