Subject: Re: ld.elf_so searchpaths
To: Andrew Brown <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 03/12/1999 16:52:44
On Fri, 12 Mar 1999, Andrew Brown wrote:
: it's a little off topic, but could someone please enlighten me as to
: how i can actually get gcc (2.8.1) under solaris (2.5.1) to stick an
: rpath into a binary?
cc -o file file1.o file2.o ... -L/path/to/lib -llibname -R/path/to/lib
If -R doesn't work, try -Wl,-R. I'm not sure which is used by gcc on
Solaris, and I haven't a source tree on this box with which to check.
-- Todd Vierling (Personal firstname.lastname@example.org; Bus. email@example.com)