- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey, is there a way to statically link to both TBB and IPP?
I would like to deploy a binary only.
Thanks,
Alon
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ping :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TBB is intended to be linked dynamically, to avoid inadvertent duplicate copies. This goes for tbbmalloc as well.
If you're using Windows, try if you can still link statically with the runtime library, and see how fast your application crashes by allocating memory with one copy, e.g., the dynamically linked one used by a library you're using, perhaps indirectly, and deallocating with another, e.g., the one linked statically with your executable.
With TBB, you also have task pools, thread-local storage, and perhaps other things that might break.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page