首页 > 编程知识 正文

linux子系统安装gcc,Windows的编译器

时间:2023-05-04 14:34:25 阅读:34709 作者:3127

修改bootstrap.bat文件

将call .build.bat更改为call .build.bat gcc

从SET TOOLSET=msvc更改为SET TOOLSET=gcc

@ echooffsetlocalremcopyright 2019-2020 reneriveraremcopyright (c ) 2009 vladimirprusremremdistributedunderthebooststsoftwarerelicoremcoricht ingfilelicense _1_0. txt or http://www.boost.org/license _1_0. txt ) echo building srcengineB2.exe ' Dell engine call. build B2.exe ' (复制.toolsbuildsrcengine B2.exe.nulgoto:bjam_built ) goto : bjam _ failure 3360 weshouldobtainthetoolsetthatbuild.bathasremguessed.howeld itusessetlocalatthestartanddoesnotremexportboost _ jam _ toocalatthestartanddoesnotremexportboost _ jam Andi don ' tknowhowhowtowtow tspecified.set toolset=gccif ' %1'==' gcc ' set toolset=gccif ' %1'=' gcc ' set toolset=t=clang if ' %1'==. 0if ' %1'=' vc9 ' set toolset=msvc 360.0 if ' %1'=' vc9 toolset=msvc 336010.0 if ' %1'=' vc11 ' set toolset=msvc 3360.0 ' VC 141 ' set toolset=msvc 336014.1 if ' %1'=' VC 142 ' set toolset=msvc 336014.2 echo.echogeneratingboolset=msvc 336014.2 boost.buildconfigurationproject-config.jamecho # automaticallygeneratedbybootstrap.by project-config.jamecho.projecho project-config.jamecho.project-config.jamechooption.set keep-going : false; project-config.jamecho.project-config.jamecho.echobootstrappingisdone.to build,run : echo.echo. B2 echo io run : echo.echo.(B2 headers echo.) ECHO To adjust configuration,edit ' project-config.jam '.echofurtherinformation B2-- helpecho.echo-gettingstartedguide : echo http://boost.org/more/getting _ started/windows.html echo.echo-boost.build documentation 3360 echo http://www.boost.org/build/echo.goto : end : bjam _ CHO

./B2.exe install-- prefix=' f :boost x86 '---without-python---build-type=complete---toolset=gcc threading=multi address-model=32./

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。