This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: gcc and g++ compilation option to add -rpath (not in FAQ)



On Mar 18, 1999, Achim Bohnet <ach@mpe.mpg.de> wrote:

> I have the need to add -rpath <egcs-prefix-dir>/lib  everytime the C/C++
> frontends invoke the link/loader behind the scene -rpath <egcs-prefix-dir>/lib.

> I've checked the FAQ http://egcs.cygnus.com/faq.html#rpath but this does not
> help.

You can modify the specs file (installed in gcc-lib/*/*) so as to add
whatever options you want to the link command.  You may do that in the
*link or *lib spec, for example.  IMO, this tip should be added to the
FAQ.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brazil
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,egcs.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists