I have PC with Windows 7, toolchain arm-linux-gnueabihf. I can build my programm for linux on Windows 7 with arm-linux-gnueabihf-g++ (arm-linux-gnueabihf-make/gcc).
I wand to build boost on Windows whith toolchain arm-linux-gnueabihf.
What should I do?
1) I downloaded and unziped boost_1_66_0.7z
2) run "bootstrap.bat gcc"
3) edit project-config.jam
import option ;
using gcc : arm : "D:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++" ;
option.set keep-going : false ;
4) made script builB2.bat
set CROSS_TOOL=D:\SysGCC\Raspberry
set BOOST_DIR=D:\soft\boost\boost_1_66_0_win
additional-paths * : path-last ? )
* called with: ( gcc : : : D:/SysGCC/Raspberry/bin : search-path )
* missing argument tool
D:/soft/boost/boost_1_66_0_win/tools/build/src/tools\common.jam:305:see definiti
on of rule 'common.get-invocation-command' being called
D:/soft/boost/boost_1_66_0_win/tools/build/src/build\toolset.jam:43: in toolset.
using
D:/soft/boost/boost_1_66_0_win/tools/build/src/build\project.jam:1052: in using
project-config.jam:3: in modules.load
D:/soft/boost/boost_1_66_0_win/tools/build/src\build-system.jam:249: in load-con
fig
D:/soft/boost/boost_1_66_0_win/tools/build/src\build-system.jam:412: in load-con
figuration-files
D:/soft/boost/boost_1_66_0_win/tools/build/src\build-system.jam:524: in load
D:\soft\boost\boost_1_66_0_win\tools\build\src/kernel\modules.jam:295: in import
D:\soft\boost\boost_1_66_0_win\tools\build\src/kernel/bootstrap.jam:139: in boos
t-build
D:\soft\boost\boost_1_66_0_win\boost-build.jam:17: in module scope
D:\soft\boost\boost_1_66_0_win>pause
Why? How to build boost on Windows for Linux?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have PC with Windows 7, toolchain arm-linux-gnueabihf. I can build my programm for linux on Windows 7 with arm-linux-gnueabihf-g++ (arm-linux-gnueabihf-make/gcc).
I wand to build boost on Windows whith toolchain arm-linux-gnueabihf.
What should I do?
1) I downloaded and unziped boost_1_66_0.7z
2) run "bootstrap.bat gcc"
3) edit project-config.jam
import option ;
using gcc : arm : "D:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++" ;
option.set keep-going : false ;
4) made script builB2.bat
set CROSS_TOOL=D:\SysGCC\Raspberry
set BOOST_DIR=D:\soft\boost\boost_1_66_0_win
b2 --prefix="%BOOST_DIR%\build" ^
--libdir=%BOOST_DIR%\build\lib1 ^
--includedir=%BOOST_DIR%\build\inc1 ^
--stagedir=%BOOST_DIR%\build\stage ^
--build-dir=%BOOST_DIR%\build ^
toolset=gcc-arm ^
target-os=linux ^
variant=release ^
threading=multi ^
link=static ^
runtime-link=static ^
--without-math ^
--without-graph ^
--without-graph_parallel ^
--without-python ^
--layout=system ^
architecture=arm ^
address-model=32 ^
-q ^
install ^
stage
5)run buildB2.bat
I get a error
* called with: ( gcc : : : D:/SysGCC/Raspberry/bin : search-path )
* missing argument tool
D:/soft/boost/boost_1_66_0_win/tools/build/src/tools\common.jam:305:see definiti
on of rule 'common.get-invocation-command' being called
D:/soft/boost/boost_1_66_0_win/tools/build/src/build\toolset.jam:43: in toolset.
using
D:/soft/boost/boost_1_66_0_win/tools/build/src/build\project.jam:1052: in using
project-config.jam:3: in modules.load
D:/soft/boost/boost_1_66_0_win/tools/build/src\build-system.jam:249: in load-con
fig
D:/soft/boost/boost_1_66_0_win/tools/build/src\build-system.jam:412: in load-con
figuration-files
D:/soft/boost/boost_1_66_0_win/tools/build/src\build-system.jam:524: in load
D:\soft\boost\boost_1_66_0_win\tools\build\src/kernel\modules.jam:295: in import
D:\soft\boost\boost_1_66_0_win\tools\build\src/kernel/bootstrap.jam:139: in boos
t-build
D:\soft\boost\boost_1_66_0_win\boost-build.jam:17: in module scope
D:\soft\boost\boost_1_66_0_win>pause
Why? How to build boost on Windows for Linux?