bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13409] New: winders should specify host endianness for ico


From: HHG01200 at nifty dot ne.jp
Subject: [Bug binutils/13409] New: winders should specify host endianness for iconv explicitly
Date: Mon, 14 Nov 2011 11:04:49 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13409

             Bug #: 13409
           Summary: winders should specify host endianness for iconv
                    explicitly
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


I installed binutils onto Mac OSX (host, i686 little endian) for mingw32msvc
(target, i386 little endian).
windres writes resource id and name string (not integer) in big endian into
COFF.
I investigated a function  wind_MultiByteToWideChar() in "winduni.c" .
I changed an argument,
  iconv_open ("UTF-16", iconv_name);
to
  iconv_open ("UTF-16LE", iconv_name);

This fixed the problem.

Regards.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]