build icon indicating copy to clipboard operation
build copied to clipboard

[cross-build] Specifying target-os fails to link a shared library on macOS

Open theodelrieu opened this issue 6 years ago • 1 comments

Hello,

I've stumbled across a weird behaviour related to target-os and shared libraries, while building atomic (I'm on macOS):

  • cd boost/libs/atomic/build
  • run b2 toolset=clang link=shared target-os=iphone

The macOS linker complains about --start-group (--end-group is unrecognized as well).

Removing the target-os works.

theodelrieu avatar Nov 09 '18 11:11 theodelrieu

Thank you for your contributions. Main development of B2 has moved to https://github.com/bfgroup/b2 This issue has been automatically marked as "transition" to indicate the potential for needing transition to the new B2 development project.

stale[bot] avatar Jun 26 '21 03:06 stale[bot]