On 3/27/06, Markus Schöpflin <markus.schoepflin@comsoft.de> wrote:
> This would break on Solaris when using Sun's linker, which supports -R but
> not -rpath.

Is it doing the same as the GNU ld's -R parameter, with the same handling
of directory arguments as a special case?

-R isn't a special case for Solaris ld.  Its the only way of specifying the RPATH

     -R path
           A colon-separated list of directories used to  specify
           library  search  directories to the runtime linker. If
           present and not NULL, it is  recorded  in  the  output
           object file and passed to the runtime linker. Multiple
           instances of this  option  are  concatenated  together
           with each path separated by a colon.

--
Caleb Epstein
caleb dot epstein at gmail dot com