3 ms·
I think most people designing build systems (I'm one of them) would prefer to explicitly set the paths at each point rather than have gcc ferry values between i
by throwaway09223 5y ago
I think most people designing build systems (I'm one of them) would prefer to explicitly set the paths at each point rather than have gcc ferry values between inputs behind the scenes.
My build system will have already resolved all these paths. It's very easy to interpolate these paths into the command to call the compiler.
- account42 5y agoAnd some build systems already have an option to add these RPATHs, e.g. https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.html https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_R...