From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Achim Bohnet Cc: egcs@egcs.cygnus.com Subject: Re: gcc and g++ compilation option to add -rpath (not in FAQ) Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: References: <199903182141.WAA04071@o06.xray.mpe.mpg.de> X-SW-Source: 1999-03n/msg00648.html Message-ID: <19990331234600.N7VdRmin04FqLoKomiI7v4mrcav3YctPeSJ8st6G-aM@z> On Mar 18, 1999, Achim Bohnet wrote: > I have the need to add -rpath /lib everytime the C/C++ > frontends invoke the link/loader behind the scene -rpath /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