×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Building boost 1.37 on Solaris 10

Building boost 1.37 on Solaris 10

Building boost 1.37 on Solaris 10

(OP)
Not sure if this is the right place, but I'm not finding an answer for this.  If you can point me at a good forum for this type of question (I've already asked on cplusplus.com), I'd be grateful.

I am trying to build boost 1.37 on Solaris 10 (1.37 is necessary since I'm porting an older version of our software that was originally built against that version) and, having run configure with no problems, I'm running into an issue where building with gmake gives the error: "g++: unrecognized option `-pthread'".  I can't find anywhere that tells me how I can change that from -pthread to -pthreads (since I've found online where someone says -pthread is for gcc on Linux, and -pthreads is for gcc on Solaris).

Has anyone built boost on Solaris?  Does anyone have an answer for how to change -pthread to -pthreads?  And also any advice for going forward?  I saw somewhere else that indicated it's not as easy of a process as I would have expected.

Thanks...
Bruce
 

RE: Building boost 1.37 on Solaris 10

(OP)
For else anyone who runs into this problem, I didn't find a way to make 1.37 use the -pthreads option, but I did find somewhere where it says that this problem was fixed in 1.38, so I downloaded that, and it seems fine now.   

RE: Building boost 1.37 on Solaris 10

A star for posting your solution - some don't bother.

The internet - allowing those who don't know what they're talking about to have their say.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close