Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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).

I'am looking for a way to configure boostbuild without python (compilation and cross-compilation).

Is python mandatory ?

Must I compile every single parts but 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
like image 283
Nelstaar Avatar asked Aug 28 '12 15:08

Nelstaar


1 Answers

Look at --without-* bjam option e.g. --without-python

like image 116
Maxwe11 Avatar answered Nov 12 '22 09:11

Maxwe11