Boost logo

Boost Users :

Subject: [Boost-users] RE [Q] any successes in building 1.38+GCC-4.3.2+cygwin
From: Vial, Florent (fvial_at_[hidden])
Date: 2009-03-03 10:57:34


>>> ./boost/config/requires_threads.hpp:29:4: error: #error "Threading
>>> support unavaliable: it has been explicitly disabled with
BOOST_DISABLE_THREADS"
 
>> This may be an issue with 4.3.2 as it works fine with 3.4.4.

>AFAIR, there is no pthreads in gcc-4 on cygwin.

I agree with that. I tried it too for a couple of weeks, but the current
gcc 4.3.2 version installed in cygwin was built without pthread.
Try a "$gcc-4.exe --v". On my machine it returns:

Using built-in specs.
Target: i686-pc-cygwin
Configured with: /gnu/gcc/release/gcc4-4.3.2-1/src/gcc-4.3.2/configure
--srcdir=/gnu/gcc/release/gcc4-4.3.2-1/src/gcc-4.3.2 --prefix=/usr
--exec-prefix=/us
 --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin
--localstatedir=/var --sysconfdir=/etc --datadir=/usr/share
--infodir=/usr/share/info --mandi
=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap
--enable-version-specific-runtime-libs --with-slibdir=/usr/bin
--libexecdir=/usr/lib
--enable-static --enable-shared --enable-shared-libgcc
--enable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2
--disable-sjlj-exceptions --enable-l
nguages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers
--enable-libjava --program-suffix=-4
Thread model: single
gcc version 4.3.2 20080827 (alpha-testing) 1 (GCC)

The line saying "Thread model: single" says it all...

HTH,
Florent

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: Munchen - Registergericht: Amtsgericht Munchen - Handelsregisternummer: HRA 57918
Personlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: Munchen - Registergericht: Amtsgericht Munchen - Handelsregisternummer: HRB 54477
Geschaftsfuhrer: Prof. Dr. Dejan Ilic; Franz Kraus; Jens Schafer


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net