How do I make code::blocks add an rpath to my binary. I have tried to add -rpath <pathname> in the other linker options box but all I get is a message "g++: unrecognized option '-rpath,'". I have looked through this forum for an answer but most seem to be related to compiling CB itself. Any ideas.