bug-gnu-libiconv
[Top][All Lists]
Advanced

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

[bug-gnu-libiconv] Compiling libiconv under cygwin


From: pavel
Subject: [bug-gnu-libiconv] Compiling libiconv under cygwin
Date: Wed, 12 Dec 2012 17:18:29 +0100

Hi libiconv team,

I am not sure whether this is the right place where to send this
message. I spent couple of days building libiconv under cygwin and
finally it looks like I've got a clean built. So I would like to report
couple of problems which I encountered.

The source archive libiconv-1.14.tar.gz contains gnulib-local folder,
which does not seem to be of much use. It is necessary to
run ./autogen.sh to get a fresh copy of gnulib from git. Then it is
necessary to rename gnulib-local to gnulib-local-old, for example, and
make exact copy of gnulib folder to gnulib-local folder. Finally it is
necessary to copy libiconv-misc and mbstate files from the original
gnulib-local/modules (so now actually gnulib-local-old/modules) to the
new copy gnulib-local/modules folder, since these two files are missing
in git.

The second problem concerns with gentranslit utility. Obviously "ulimit
-s unlimited" does nothing under cygwin, so I had to edit the
lib/gentranslit.c file and dynamically allocate the data and uni2index
variables. The modified file is attached.

After the described changes I was able to do ./autogen.sh with some
minor warnings, ./configure, make and make install without errors.

Thanks, Pavel

Attachment: gentranslit.c
Description: Text Data


reply via email to

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