On Mon, 16 Oct 2000, kavitha jude malar wrote: > I am using cxx version 6.2 for compiling the cxx pgm. > I have to pass the -rpath string to the linker while creating the binary. > I am using this option -WL,-rpath string . But the linker is not taking that. > Any idea pls.
Try -Wl,-rpath (lower case 'L'). You could also use -Xlinker OPTION. That should at least pass the option to the linker. See the gcc texinfo docs for more info on linker options. C

