If you want to ship the program with .dlls and put them into a directory in the root, how do you tell this to the linker, or is it even possible? Usually you put dlls in the same directory with .exe, but this can be messy. Trust me, I have tried to google the answer to this literally for hours. There is -rpath linker option, but I can't figure out how it works. If you put that into extra linker options in C::B the linker doesn't know that command.