Opened 12 years ago

Last modified 12 years ago

#5443 new Support Requests

Building multithreading (-mt) libs on Mac OS X 10.6

Reported by: daniel@… Owned by: Dave Abrahams
Milestone: To Be Determined Component: Getting Started Guide
Version: Boost 1.47.0 Severity: Cosmetic
Keywords: Cc:

Description

The docu (http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html) states that mutli-threading libs will have the "-mt" suffix, but I cannot get such libs to build on my Mac OS X 10.6 (Intel Core 2 Duo). The build process seems to build multi-threaded libs because the directory it creates for itself is, for example:

/tmp/boost/bin.v2/libs/regex/build/darwin-4.2.1/release/threading-multi/

But the only resulting binary in that dir is libboost_regex.dylib.

Am I building the libs wrong, or is the docu wrong about the -mt suffix, or is this a Mac problem?

Change History (2)

comment:1 by Steven Watanabe, 12 years ago

Component: NoneGetting Started Guide
Owner: set to Dave Abrahams

The default naming was changed a while ago. There are 3 options.

  • --layout=system does not add any suffixes. It is the default except on Windows.
  • --layout=tagged includes the variant suffixes.
  • --layout=versioned includes the variant and the Boost version. It is the default on Windows.

comment:2 by daniel@…, 12 years ago

bjam --layout=tagged worked. Thank you.

Note: See TracTickets for help on using tickets.