[Mono-devel-list] Building using icu under cygwin
Bernie Solomon
bernard at ugsolutions.com
Sun Oct 12 22:03:11 EDT 2003
I have come up with a way to build using ICU under cygwin.
I downloaded the prebuilt VC6 binaries from the link on http://oss.software.ibm.com/icu/download/2.6.1/index.html.
I installed this under cygwin's structure (I used /usr/local/icu as the root).
Somewhere in your path put this script as icu-config (I chose /usr/local/bin/icu-config) having editted ICU_ROOT to wherever you installed ICU (this script is attached as well).
#/bin/sh
ICU_ROOT=/usr/local/icu
case $1
in
--cppflags)
echo "-I$ICU_ROOT/include"
;;
--ldflags)
echo "-L$ICU_ROOT/lib -licuuc -licuin"
;;
--version)
grep '\<U_ICU_VERSION\>' $ICU_ROOT/include/unicode/uversion.h | sed -e 's/.*"\(.*\)".*/\1/'
;;
esac
now you can rerun configure and this should detect the ICU installation properly and use it.
Bernie Solomon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031012/8ec5cc4e/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icu-config
Type: application/octet-stream
Size: 274 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031012/8ec5cc4e/attachment.obj
More information about the Mono-devel-list
mailing list