[Ecls-list] threading support on cygwin (for ecl-0.9i release)

Anton Vodonosov avodonosov at yandex.ru
Wed Dec 12 01:09:41 UTC 2007


Anton Vodonosov <avodonosov at yandex.ru> writes:

> After commenting out line 3597 in the src/configure
> ecl is build OK. 

Here are relevant lines:
LDRPATH='~*'
SHAREDEXT='so'
SHAREDPREFIX='lib'
LIBPREFIX='lib'
LIBEXT='a'
PICFLAG='-fPIC'
THREAD_CFLAGS=''
THREAD_LIBS=''
THREAD_GC_FLAGS='--enable-threads=posix'
INSTALL_TARGET='install'
THREAD_OBJ='threads'
clibs=''
case "${host_os}" in

 ...

    cygwin*)
        thehost='cygwin'
        shared='yes'
#I've commented out this: THREAD_OBJ=''
        THREAD_CFLAGS='-D_THREAD_SAFE'
        THREAD_LIBS='-lpthread'
        SHARED_LDFLAGS="-shared ${LDFLAGS}"
        BUNDLE_LDFLAGS="-shared ${LDFLAGS}"
        SHAREDPREFIX=''
        SHAREDEXT='dll'
        ;;
    mingw*)
        thehost='mingw32'

 ...

Best regards,
-Anton




More information about the ecl-devel mailing list