Re: [Boost-bugs] [Boost C++ Libraries] #2164: locate_root wrong under CygWin

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2164: locate_root wrong under CygWin
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-04 20:12:32

#2164: locate_root wrong under CygWin
  Reporter: anonymous | Owner: grafik
      Type: Bugs | Status: new
 Milestone: Boost 1.36.0 | Component: bjam
   Version: Boost 1.35.0 | Severity: Showstopper
Resolution: | Keywords: cygwin

Comment(by jim_at_[hidden]):

 More research: the problem is in libboost_system-gcc34-1_36.a, used to
 build process_jam_log.exe. The fs::initial_path() call in
 process_jam_log.cpp's set_boost_root() returns the DOSish name.

 CygWin's python interpreter uses UNIXish names, so any combination of
 things I try yields the UNIXish /cygdrive/C/tmp/boost_rt not being
 recognized as absolute by boost:filesystem.

 I tried these flags in, just before "if self.debug_level >

         if sys.platform == 'cygwin':
                         self.bjam['build_args'] += ' -DBOOST_POSIX_API=1'
                         self.process_jam_log['build_args'] += '
                         self.bjam_options += ' -sBOOST_POSIX_API=1'

 All to no avail.

 I'm not convinced I'm getting the BOOST_POSIX_API definition to
 libboost_system-gcc34-1_36.a, when process_jam_log.cpp is compiled.

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC