c++ - Building Boost for static linking (MinGW) -


I am creating a Boost for minGW (I am using system and file system) using bjam I

> > >

I have a file for the final product) so I tried:

  bjam --link = static --toolset = gcc stage  

but me Get the same output. Any ideas?

Edit The second question in one line I answered moments after posting: Guess that I will leave it here for other people.

> bjam --build-type = full --toolset = gcc phase

will make both dynamic and stable to ensure.

I think the link is a property, which is in contrast to Baja's choice. This means that before - no one should be there.

This is my command line to build only static libraries (though visible c ++):

  bjam install --toolset = Msvc variant = release link = static Threading = multi runtime-link = static  

To mapping your original build command, I would say that something like this should look like:

  bjam - Toolset = gcc link = static step  

or perhaps:

  bjam stage --toolset = gcc link = static  
< For more information on the properties and options of b> bjam, try

  bjam --help  

.


Comments