libiconv for windres
Kai Tietz
Kai.Tietz@onevision.com
Fri Jun 1 08:39:00 GMT 2007
Hello,
> I added by this patch the "libiconv" for unicode transformations in
> windres to non-windows hosts. This patch implements also the a MS
codepage
> mapping needed for "#pragma codepage(x)" support in "rc"-files and for
the
> new "windmc" (Windows message compiler" I am currently working on.
> Please review.
I missed the config.in file.
ChangeLog:
2007-06-01 Kai Tietz <Kai.Tietz@onevision.com>
* binutils/Makefile.am: Add LIBICONV to windres.
* binutils/acinclude.m4: Added missing "lib-*.m4" and
"lt*.m4" files.
* binutils/configure.in: Add AC_CHECK_HEADER for
iconv.h and use AM_ICONV.
* binutils/winduni.c: (local_iconv_map codepages,
wind_language_t languages, unicode_is_valid_codepage,
wind_find_language_by_id, wind_find_language_by_codepage,
wind_find_codepage_info, unicode_from_codepage,
codepage_from_unicode, iconv_onechar, wind_iconv_cp,
wind_MultiByteToWideChar wind_WideCharToMultiByte):
New.
(ascii_from_unicode): Use codepage_from_unicode.
(ascii_from_unicode): Use unicode_from_codepage.
* binutils/winduni.h: (CP_ACP, CP_UTF7, CP_UTF8,
CP_UTF16): New macros.
(wind_language_t, local_iconv_map): New types.
(wind_find_language_by_id, wind_find_language_by_codepage,
unicode_is_valid_codepage, wind_find_codepage_info,
unicode_from_codepage, codepage_from_unicode): New
prototypes.
* binutils/config.in: Add HAVE_ICONV, HAVE_ICONV_H.
* binutils/Makefile.in, binutils/configure, aclocal.m4:
Regenerate.
Regards,
i.A. Kai Tietz
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------------------
OneVision Software Entwicklungs GmbH & Co. KG
Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
Handelsregister: HRA 6744, Amtsgericht Regensburg
Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer:
Ulrike Döhler, Manuela Kluger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wind_uni.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20070601/b88705f7/attachment.txt>
More information about the Binutils
mailing list