[Boost-bugs] [Boost C++ Libraries] #7858: boost should not blindly assume that MinGW installation is in c:\ directory

Subject: [Boost-bugs] [Boost C++ Libraries] #7858: boost should not blindly assume that MinGW installation is in c:\ directory
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-05 10:09:20


#7858: boost should not blindly assume that MinGW installation is in c:\ directory
----------------------------+-----------------------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.52.0
 Severity: Problem | Keywords:
----------------------------+-----------------------------------------------
 instead it should search the directory in which main boost dir lies and
 then if not found should withdraw to defauld directory

 so in file : boost\tools\build\v2\engine\build.bat

 {{{
 #!html
 <pre>
 if EXIST "C:\MinGW\bin\gcc.exe" (
     set "BOOST_JAM_TOOLSET=mingw"
     set "BOOST_JAM_TOOLSET_ROOT=C:\MinGW\"
     goto :eof)
 call :Clear_Error
 </pre>
 }}}

 </pre>
 }}}

 should instead be:

 {{{
 #!html
 <pre>
 if EXIST "..\MinGW\bin\gcc.exe" (
     set "BOOST_JAM_TOOLSET=mingw"
     set "BOOST_JAM_TOOLSET_ROOT=..\MinGW\"
     goto :eof)
 call :Clear_Error
 </pre>
 }}}

 to catch that mingw installation which lies along with boost in the same
 parent directory. This is needed in case both of them are run from
 removable drive or there are different pairs of boost and mingw for
 testing.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7858>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC