Boost logo

Boost :

From: dp11229 (dpodbori_at_[hidden])
Date: 2002-01-24 13:32:07


Seb,

As I recall, the Forte compiler requires an explicit -mt switch when
you are building multithreaded code (that is if your compiler was
installed as multithreaded to begin with by your sysadmin -- if not,
you are out of luck, read supporting documentation).

First, try to build (with -mt switch) a simple multithreaded program
using basic pthreads, e.g. one of the examples from
<http://www.cs.wpi.edu/~cs502/f01cew/week4-threads/week4-threads.html>
If this works, than you have threading.

You didn't mention which Forte you are using; I believe only 6.X
versions have enough template support and standard complience to
compile Boost.

Good luck,
Dmitry

--- In boost_at_y..., Sebastien Marc <sebmarc_at_y...> wrote:
> Thanks Dmitry,
>
> I do not need python, so you should be able to help.
>
> I have downloaded boost_1_26_0. With the help of an
> other helpful boost user, Sinan, we have hacked
> together config.hpp, and a suncc_tools.jam file.
> I am getting a bunch of compilation errors building
> the regex lib and as for the thread lib, i have an
> error message saying "thread support is not
> available", so i guess i messed up big time.
>
>
> I think i need to start from scratch.
>
> Which sources are you using: CVS or the latest stable
> release ?.
>
> What did you modify to be able to compile regex and
> threads ?. I guess you had to modify config.hpp
> somehow ?. Can you send the .jam file you used ?.
>
> Thanks for your help.
>
> Seb.
>
>
> --- dp11229 <dpodbori_at_l...> wrote:
> > I just went through this excersise on SPARC Solaris
> > 5.8 with Forte
> > 6.X . I used the Jam executable which I downloaded
> > from a link in
> > the "Install/Build" page of the Boost documentation.
> > I believe only
> > three "binary" libraries are being built -- thread,
> > regex and python -
> > - the rest of Boost library is in header files.
> > Thread and regex .a
> > and .so were built with no problems and python
> > failed, but since I
> > don't plan to use it immediately I didn't
> > invesigate.
> >
> > If you continue to have problems, you can manually
> > build static libs
> > or out of thread or regex files and link them in
> > when building your
> > executable.
> >
> > Hope this helps,
> > Dmitry
> >
> > --- In boost_at_y..., "sebmarc" <sebmarc_at_y...> wrote:
> > > I am trying to find some help to compile boost on
> > Solaris using
> > Forte.
> > > If anybody has any experience in this, i will
> > greatly appreciate it.
> > >
> > > Thanks,
> > >
> > > Seb.
> >
> >
> > Info: http://www.boost.org Send unsubscribe
> > requests to:
> > <mailto:boost-unsubscribe_at_y...>
> >
> > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk