<div dir="ltr">For simplicity let us say that I want to build two concrete targets, one for linux, and one cross-compiled for windows. To that end, I have two gcc inits, one using the default compiler and one using gcc-mingw32. If I run b2 twice, both work:<div><br></div><div> b2 toolset=gcc</div><div> b2 toolset=gcc-mingw32 target-os=windows</div><div><br></div><div>How do I run them together?</div><div><br></div><div>If I use:</div><div> b2 toolset=gcc toolset=gcc-mingw32 target-os=windows</div><div>it builds the two desired targets but also tries for gcc with windows flags and gcc-mingw32 with linux flags.</div><div><br></div><div>I do not see a way to specify that a given gcc toolset should only be used for a particular target-os (e.g putting <target-os>windows in the options.</div><div><br></div><div>I tried what was in Vladimir's Boost.Build System paper:</div><div> b2 toolset=gcc -- toolset=gcc-mingw32 target-os=windows</div><div>but that only builds whatever comes before the dashdash.<br></div><div><br></div><div>Any ideas?</div><div><br></div><div><br></div><div><div><br></div><div><br></div></div></div>