Hi, I just downloaded the IOStreams library, soon to be included in Boost. I needt to install it, so that all the includes will reside wherever they should. I have bjam, but I must be doing something wrong. I'm at the tired, frustrated stage where the documentation is too cryptic. Could someone please explain how I use bjam? The docs say bjam -sTOOLS=gcc my_target. What is "my_target"? Tried teh path to the Jamfile, got an error saying no suitable files can be found...please help, I'm really having a bad day here :( Eyal.
Eyal Susser wrote: Could someone please explain how I use bjam? The docs
say bjam -sTOOLS=gcc my_target. What is "my_target"?
Try just leaving it off; this will build whatever the jamfile's default target is, which is something like "all" (i.e. everything the jamfile knows how to build). Make sure you're in the directory where jamfile.v1 is. When you've had more rest ;-) you can reread the docs and poke through the jamfile itself for more details. FWIW, I don't use bjam anymore. Once I got it running, I used its -d2 option to see what it was actually doing, and discovered that, for gcc anyway, the compiler options are fairly trivial. So I just build boost libs in my IDE with the same compiler options. But I wouldn't recommend this approach until you've got bjam working first. HTH, Steve Hartwell
Eyal Susser
Hi, I just downloaded the IOStreams library, soon to be included in Boost. I needt to install it, so that all the includes will reside wherever they should.
http://www.boost.org/more/getting_started.html#Build_Install has the complete instructions. Just bjam -sTOOLS=gcc --with-iostreams from the top level directory. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
David Abrahams
-
Eyal Susser
-
Steve Hartwell