Re: [boost] Re: impl(ementations) - keeping it simple

John Torjo wrote:
Maybe to simplify the process, in boost-root (where boost-build.jam file exists), we could have a makefile which automatically builds bjam from the source files and the invokes it with a given configuation.
like: make msvc (instead of bjam "-sTOOLS=msvc")
Unfortunately, I don't have any makefile knowledge.
I am knowledgeable in makefiles, but this leads to a problem: you need to configure the makefile to handle all the various compiler and platform combinations - something bjam already handles, so why duplicate this effort? Is there a bjam file for bjam?! That way it could be bootstrapped. But then why not just download a pre-built version of bjam? Regards, Reece _________________________________________________________________ Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger

Reece Dunn wrote:
John Torjo wrote:
Maybe to simplify the process, in boost-root (where boost-build.jam file exists), we could have a makefile which automatically builds bjam from the source files and the invokes it with a given configuation.
like: make msvc (instead of bjam "-sTOOLS=msvc")
Unfortunately, I don't have any makefile knowledge.
I am knowledgeable in makefiles, but this leads to a problem: you need to configure the makefile to handle all the various compiler and platform combinations - something bjam already handles, so why duplicate this effort?
they're not so many. I don't think it's that much: - just build bjam for all configurations (in Win32 this is just invoking some build.bat file) - copy bjam (and other needed EXEs) to boost_root - for each configuration, call bjam for it (like msvc, call bjam "-sTOOLS=msvc") This way, the regular user will get to build the needed source files without any pain.
Is there a bjam file for bjam?! That way it could be bootstrapped. But then why not just download a pre-built version of bjam?
for win32, that's about 600K. I don't like it very much. Best, John

(John Torjo <john.lists@torjo.com>) wrote:
Reece Dunn wrote:
... platform combinations - something bjam already handles, so why duplicate this effort?
...
This way, the regular user will get to build the needed source files without any pain.
Well, building with bjam also is without any pain at all. But I must admit that this was not so until I discovered the --install option switch, which is not all too well documented. (Just go to the boost-root directory and type bjam --help). Then, at least when using windows, and once the auto_link.hpp is beeing complete, using boost is only a matter of just including the header files. No need to fiddle around with compiler switches and the like! BTW.: auto_link.hpp is great! Roland

Roland wrote:
Well, building with bjam also is without any pain at all. But I must admit that this was not so until I discovered the --install option switch, which is not all too well documented. (Just go to the boost-root directory and type bjam --help).
Not that I'll change the docs for this release but for the next one... How is "--install" not well documented? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

(Rene Rivera <grafik.list@redshift-software.com>) wrote:
Not that I'll change the docs for this release but for the next one... How is "--install" not well documented?
Oh, sorry, I by no means intended to critisize you. Of course having a --help is one of the best means to do documentation. I was refering to the information on http://www.boost.org/tools/build/index.html This is whereI came first when entering from the main page. I am using MSVC6 on Windows, and after having compiled everything, using the bjam -s"TOOLS=msvc" as suggested found myself digging into the directories and copying the lib files over to my standard places. I did not recognize instantly that there was a much smoother path to go. Regards, Roland

Roland wrote:
(Rene Rivera <grafik.list@redshift-software.com>) wrote:
Not that I'll change the docs for this release but for the next one... How is "--install" not well documented?
Oh, sorry, I by no means intended to critisize you. Of course having a --help is one of the best means to do documentation.
Don't be sorry, I want the feedback :-) Documentation is even harder to get right than code.
I was refering to the information on http://www.boost.org/tools/build/index.html This is whereI came first when entering from the main page.
OK, I see the problem. What made you go there instead of following the "Getting Started" link on the boost-root/index.htm ? (which points to boost-root/more/getting_started.html)
I am using MSVC6 on Windows, and after having compiled everything, using the bjam -s"TOOLS=msvc" as suggested found myself digging into the directories and copying the lib files over to my standard places.
OK, at a minimum we should provide a back pointer to the "Getting Started" docs. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

(Rene Rivera <grafik.list@redshift-software.com>) wrote:
Roland wrote:
I was refering to the information on http://www.boost.org/tools/build/index.html This is where I came first when entering from the main page.
OK, I see the problem. What made you go there instead of following the "Getting Started" link on the boost-root/index.htm ? (which points to boost-root/more/getting_started.html)
Perhaps I am on a totally wrong track... but I enter boost at http://www.boost.org On the main page in the left pane near the top there is Install & Build. Build is connected to a link. So it was very natural for me to follow this link, and ended at http://www.boost.org/tools/build/index.html I even can't http://www.boost.org/boost-root/index.htm This gives me a "The page cannot be found" error. Hope this is meaningful to you. Roland

Roland wrote:
(Rene Rivera <grafik.list@redshift-software.com>) wrote:
Roland wrote:
I was refering to the information on http://www.boost.org/tools/build/index.html This is where I came first when entering from the main page.
OK, I see the problem. What made you go there instead of following the "Getting Started" link on the boost-root/index.htm ? (which points to boost-root/more/getting_started.html)
Perhaps I am on a totally wrong track... but I enter boost at http://www.boost.org On the main page in the left pane near the top there is Install & Build. Build is connected to a link. So it was very natural for me to follow this link, and ended at http://www.boost.org/tools/build/index.html
I even can't http://www.boost.org/boost-root/index.htm This gives me a "The page cannot be found" error.
Simple question... If you are using/testing the RC version (the only one that has the "--install" option) why not read the documentation that comes with it? ..Or read the latest docs at: http://www.boost-consulting/boost/ -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

(Rene Rivera <grafik.list@redshift-software.com>) wrote:
Roland wrote:
Perhaps I am on a totally wrong track... but I enter boost at http://www.boost.org
Simple question... If you are using/testing the RC version (the only one that has the "--install" option) why not read the documentation that comes with it?
..Or read the latest docs at: http://www.boost-consulting/boost/
Oh I see. I definitely was on the wrong track. I had pointing my favorites to www.boost.org instead of my local boost rootdirectory obtained from cvs. It is interesting however how far one can get even by reading outdated documentaion ;-) The documentation isn't to blame in any respect! I find it very readable btw. Thank you for having been so patient to put me on the right track again. One minor point: Obviously the link http://www.boost-consulting/boost/ should read http://www.boost-consulting.com/boost/ Roland

Roland wrote:
(Rene Rivera <grafik.list@redshift-software.com>) wrote:
Roland wrote:
Perhaps I am on a totally wrong track... but I enter boost at http://www.boost.org
Simple question... If you are using/testing the RC version (the only one that has the "--install" option) why not read the documentation that comes with it?
..Or read the latest docs at: http://www.boost-consulting/boost/
Oh I see. I definitely was on the wrong track. I had pointing my favorites to www.boost.org instead of my local boost rootdirectory obtained from cvs.
It is interesting however how far one can get even by reading outdated documentaion ;-)
It's because all the older documentation still applies. We just made it easier by wrapping things with a much cleaner front end.
The documentation isn't to blame in any respect! I find it very readable btw.
Thank you :-) If you do find anything that could be improved I'd love to hear about it.
Thank you for having been so patient to put me on the right track again.
No problem.
One minor point: Obviously the link http://www.boost-consulting/boost/
should read http://www.boost-consulting.com/boost/
Oops... yes :-) -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
participants (4)
-
John Torjo
-
Reece Dunn
-
Rene Rivera
-
Roland