This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -R option into gcc act the same as -Wl,--rpath,?
- To: "Marty Leisner" <mleisner at eng dot mc dot xerox dot com>
- Subject: Re: -R option into gcc act the same as -Wl,--rpath,?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 17 May 2001 15:13:16 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105171725.NAA19183@mailhost.eng.mc.xerox.com>
On May 17, 2001, "Marty Leisner" <mleisner@eng.mc.xerox.com> wrote:
> Passing -R <path> to gcc makes the executable look in <path> for shared
> libraries...
That's for compatibility with native compilers that accept the same
option. It's not something that GCC supports portably, so you may not
want to rely on that.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me