
Am 21.03.2011 21:50, schrieb Vicente BOTET:
Message du 21/03/11 21:04 De : "Artyom" A : boost@lists.boost.org Copie à : Objet : Re: [boost] [context review] Several Questions
Let's continue... ----------------- b) Building with fcontext is... Too complicated
Options: context-impl=asm architecture=x86 instruction-set=native address-model=64
Why should I specify all these parameters? They should be fully auto-configured.
I understand that BBv2 is far from being too friendly and powerful system I still expect that most of parameters should be defined by default otherwise there is no chance that users would be actually able to build it clearly. Hi Artyom,
let me you explain why things are like that.
In previous versions of Boost.Context Oliver had build bjam with a Python option that allowed the Jamfile to identify the configuration using a Python script.. The major problem with this a approach is that it forced every one to rebuild Boost.Build with this option. Vladimir and I requested him to change the Jamfile to avoid this dependency. I really think that that decision was the right one, but I can still be wrong.
this is correct - Vladimir told me he is working on a BBv2 version providing archtiecture, instruction-set, address-model as regular boost.build options so you don't have to specify them at commandline. Until he has finished his work we have to specify it at bjam commandline.
You are right that setting the parameters is not simple, but if you need to cross compile you will need them. The solution I see now is:
1. Oliver creates a feature request to extend Boost.Build so he is able to get the configuration. 2. In the meantime the people like you and me that want to evaluate the library takes a little more time to find how to build it. 3. When Boost.Build will provide these new features, Oliver will adapt the Jamfiles.
Hoping this difficulty doesn't avoid you and others to make a review of the library.
correct thx, Oliver