We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi everyone,
I need to build TBB with static-libgcc and static-libstdc++ but I see no option in Cmake to do it. I don't know with line to edit for the makefiles.
Can you help me ? I want to avoid the dependency of the libgcc_s_seh-1.dll file
Thanks,
The text was updated successfully, but these errors were encountered:
You can use the TBB_LIB_LINK_FLAGS option:
cmake -DTBB_LIB_LINK_FLAGS="-static-libgcc;-static-libstdc++" ..
or set it directly in https://github.com/oneapi-src/oneTBB/blob/2a6bd1e198106e1447ee885db92b0a3223c9cc1e/cmake/compilers/GNU.cmake#L75-L77
Sorry, something went wrong.
Thanks @dnmokhov it works fine. Maybe add this option in the CMake GUI for the next release ?
@fdiedler, you can use the native CMAKE_SHARED_LINKER_FLAGS, which is available in the CMake GUI and has similar functionality.
CMAKE_SHARED_LINKER_FLAGS
No branches or pull requests
Hi everyone,
I need to build TBB with static-libgcc and static-libstdc++ but I see no option in Cmake to do it.
I don't know with line to edit for the makefiles.
Can you help me ? I want to avoid the dependency of the libgcc_s_seh-1.dll file
Thanks,
The text was updated successfully, but these errors were encountered: