Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building Boost without RTTI
From: Marco Strohner (Marco.Strohner_at_[hidden])
Date: 2018-03-22 08:33:14


Hi,

I'm using "bjam" to build boost on Windows without RTTI but maybe this helps. I added following defines:

define=BOOST_NO_RTTI
define=BOOST_NO_TYPEID

And disabled RTTI usage for Visual Studio:

cxxflags=/GR-

But some boost libraries aren't compilable without RTTI but you will get corresponding error messages if you try to compile these libraries.

Regards
Marco

-----Ursprüngliche Nachricht-----
Von: Boost-build [mailto:boost-build-bounces_at_[hidden]] Im Auftrag von Lucas Le Gouic via Boost-build
Gesendet: Mittwoch, 21. März 2018 16:03
An: boost-build_at_[hidden]
Cc: Lucas Le Gouic <lucas_at_[hidden]>
Betreff: [Boost-build] Building Boost without RTTI

Hello,

I'm trying to build boost 1.66 libraries without RTTI on Windows 10 using MSVC compiler and b2.exe

Following this documentation:
http://www.boost.org/doc/libs/1_66_0/more/getting_started/windows.html#prepare-to-use-a-boost-library-binary

I've successfully built boost using "b2 toolset=msvc --build-type=complete stage" but RTTI are enabled by default from what I understood and my project requier RTTI to be disabled.
However, I can't find any option to do this in b2.exe --help.

Thanks,
Lucas

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk