Boost logo

Boost-Build :

Subject: [Boost-build] #7706 : cross compiling of threads library - JamFile.v2
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-12-09 07:03:37


Hi,

in https://svn.boost.org/trac/boost/ticket/7706 it has been suggested to
make this change

@@ -105,7 +107,7 @@
  local rule default_threadapi ( )
  {
      local api = pthread ;
- if [ os.name ] = "NT" { api = win32 ; }
+ if <target-os>windows in $(properties) { api = win32 ; }
      return $(api) ;
  }

and it doesn't work on MinGW as the test is always false. Is target-os
defined by default? Even giving it on the command line doesn't works?

What am I doing wrong? Is there a way to solve this issue?

Best,
Vicente



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk