Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-11 02:17:04


Hi Alain,

> What I meant by hard-coding the search path is that in my Jamfile I have:
>
> icc12w -Lc:/icc/bin .......
>
> instead of something like:
>
> icc12w -L$(LINKPATH)
>
> So, I was planning to copy all the libraries into that path, since the
> limitation of this linker is that it only allows ONE path in the -L
> option and only ONE -L option. You're right, it's a pretty limitted
> linker, but hey, that's sometimes what you have to live with in the
> embedded word ;)

Understood.

> After that, just like the following line works for pre-built libs:
>
> lib os : : <name>os ;
>
> I wanted to try something similar like:
>
> lib crc : : <name>crc ;
>
> but that didn't work since crc is a generated (not pre-built) library.

For a generated library, you'd need to copy it to that one location... and you
need to do it before linking executables. It feels like you'd really need
some work with generators -- yet another alternative is to write a generator
which will generate the library directly to your lib directory.

> Anyway, I'll have to take some time to try your suggestion. Sounds
> like a good suggestion that will allow me to learn about this amazing
> object-oriented language that is built on top of Boost-Jam. I never
> imagined that would be possible.

Neither did I, before Dave implemented it.

> Thanks a lot for your response!
>
> BTW, I think this tool is excellent!! It is the best one I've seen so
> far. It is so versatile and that's why we're hoping to use it in our
> business since we need to compile code for PIC controllers, HC12, and
> QNX, and a lot of the code and libraries have to be shared among the
> different target hardware platforms.

Great. It's exciting to see folks use Boost.Build on such diverse targets!

> Are there any plans for a Quick-Start User's Guide, and/or a Reference
> Guide (other than what's currently available online) ?

Surely, more work on docs is planned. If you have specific suggestions about
topics which must be coverted, I'm all ears.

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk