No subject

Fri Feb 8 08:55:55 EST 2008

I have come up with a way to build using ICU under cygwin.

I downloaded the prebuilt VC6 binaries from the link on

I installed this under cygwin's structure (I used /usr/local/icu as the

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).


case $1
    echo "-I$ICU_ROOT/include"
    echo "-L$ICU_ROOT/lib -licuuc -licuin"
    grep '\<U_ICU_VERSION\>' $ICU_ROOT/include/unicode/uversion.h | sed -e

now you can rerun configure and this should detect the ICU installation
properly and use it.

-----Original Message-----
From: mono-devel-list-admin at
[mailto:mono-devel-list-admin at]On Behalf Of Giovanni Zito
Sent: Saturday, January 03, 2004 5:16 AM
To: Mono-devel-list at
Subject: [Mono-devel-list] Build failed for mono 0.29 on Windows

I'm trying to building mono 0.29 on Cygwin, with no success.

Windows version: Windows XP with service pack 1
cygwin1.dll product version: 1.1.6

I started from mono packaged version, and used the following command line:

  ./configure --with-gc=included && make

I've got the following error, while compiling libgc-mono

(gcc version is 2.95.2-5)

gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE
_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono
6.2\"" -DPACKAGE_BUGREPORT=\"Hans_Boehm at\" -DGC_WIN32_THREADS=1 -DNO_G
ECTABLE=1 -D_IN_LIBGC=1 -I./include -I./include -fexceptions -g -O2 -fexcept
ions -c misc.c -Wp,-MD,.deps/misc.TPlo  -DDLL_EXPORT -DPIC -o .libs/misc.lo
misc.c:51: `PTHREAD_MUTEX_INITIALIZER' undeclared here (not in a function)

So I switched on MinGW (latest version 3.01) with Cygwin.

./configure --with-gc=included && make

(gcc version is 3.2.3)

gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE
_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono
6.2\"" -DPACKAGE_BUGREPORT=\"Hans_Boehm at\" -DGC_WIN32_THREADS=1 -DNO_G
CTABLE=1 -D_IN_LIBGC=1 -I./include -I./include -fexceptions -g -O2 -fexcepti
ons -c win32_threads.c -MT win32_threads.lo -MD -MP -MF
.deps/win32_threads.TPlo  -DDLL_EXPORT -DPIC -o .libs/win32_threads.lo
win32_threads.c:406: conflicting types for `GC_CreateThread'
include/gc.h:898: previous declaration of `GC_CreateThread'
win32_threads.c:477: warning: static declaration for `thread_start' follows
make[3]: *** [win32_threads.lo] Error 1

Has anyone out there successfully build mono-029 on Windows?
On the mono site there isn't a binary version for Windows.... this sounds
very strange.

Any kind of help will be appreciated.


More information about the Mono-devel-list mailing list