From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 2 Jul 2003 14:08:28 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 142 ************************************************** Tuesday 01 July 2003 Number 142 ************************************************** Subjects for today 1 Re: Conflict between iconv.dll for gcc 3.2.1 and texinfo 4.1 : Thomas Hoffmann **= Email 1 ==========================** Date: Wed, 02 Jul 2003 23:52:25 +0200 From: Thomas Hoffmann Subject: Re: Conflict between iconv.dll for gcc 3.2.1 and texinfo 4.1 Andrew Zabolotny wrote: > On Tue, 01 Jul 2003 23:15:08 +0200 > Thomas Hoffmann wrote: .... > Why do you know that the special texinfo is *required*? The iconv.dll To be more precise: The supplied makeinfo binary requires the "big" iconv.dll, otherwise it will return an SYS2070 (as you mentioned: missing INTL40->ICONV.libiconv_open in popuplog). > that comes with gettext library is small but supports a lot of > encodings, since it is just a wrapper around the OS/2 Unicode API. > > Now what you can do: one solution would be to use the iconv.dll supplied > with gcc instead of GNU intl, because it is native for OS/2. The header > file is attached to this mail, the import library you can create with > emximp: "emximp -o iconv.a iconv.dll". Yes, if I would like to rebuild texinfo. But I simply wanted to use it for another project, where configure failed to recognize gcc and a "current" (>=4.0) texinfo. > > Alternatively you can modify the .DEF file for GNU intl library so that > the iconv functions are exported by name. Then gcc will (should) work > with such a intl.dll. Can this work for two iconv.dll that have these exports according to exehdr: ord obj offset name 1 1 00000028 iconv_open exported, shared data 2 1 00000184 iconv exported, shared data 3 1 000002c8 iconv_close exported, shared data 4 1 0000055c iconv_default_codeset exported, shared data and ord obj offset name 1 1 000c9e64 libiconvctl exported, shared data 2 1 000c99dc libiconv_open exported, shared data 3 1 000c9e54 libiconv_close exported, shared data 4 1 000ca2d0 locale_charset exported, shared data 5 1 000c9ee8 aliases_lookup exported, shared data 6 2 00000088 _libiconv_version exported, shared data 7 1 000c9e20 libiconv exported, shared data BTW, I solved my problem by going with the gcc-compatible (small) iconv.dll and downgrading to texinfo 4.0, which does not use iconv. Thomas.