简体   繁体   English

如何(交叉)编译boost而不是python?

[英]How to (cross-)compile boost WITHOUT python?

I have a gcc 4.3.3 toolchain for my embedded device but I have no python (and don't need it). 我的嵌入式设备有一个gcc 4.3.3工具链,但我没有python(并且不需要它)。

I'am looking for a way to configure boostbuild without python (compilation and cross-compilation). 我正在寻找一种无需python(编译和交叉编译)配置boostbuild的方法。

Is python mandatory ? python是强制性的吗?

Must I compile every single parts but boost-python ? 我必须编译每个单独的部分,但boost-python? (I hope not). (我希望不是)。

Thanks in advance. 提前致谢。

What I did thanks to Jupiter 由于木星,我做了什么

./bootstrap.sh --without-libraries=python
./b2

and I got 我得到了

Component configuration:

    - chrono                   : building
    - context                  : building
    - date_time                : building
    - exception                : building
    - filesystem               : building
    - graph                    : building
    - graph_parallel           : building
    - iostreams                : building
    - locale                   : building
    - math                     : building
    - mpi                      : building
    - program_options          : building
    - python                   : not building
    - random                   : building
    - regex                    : building
    - serialization            : building
    - signals                  : building
    - system                   : building
    - test                     : building
    - thread                   : building
    - timer                    : building
    - wave                     : building

看看--without- * bjam选项,例如--without-python

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM