This is the mail archive of the gcc@gcc.gnu.org mailing list for the EGCS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Installation of GCC-2.95 for IRIX5.3


On Aug  2, 1999, Masahito Yoshida <s1042080@u-aizu.ac.jp> wrote:

> ./gcc/config/mips/iris5.h
>   92:-32 -_SYSTYPE_SVR4 -rpath /usr/local/lib"

The -rpath isn't necessarily a good idea.  AFAIR, with IRIX's ld, only 
the last -rpath flag prevails, so this may potentially override
user-specified -rpath flags, or be discarded because a user-specified
-rpath flag appears after it.  You may need something more elaborate,
for example (untested, I'm not even sure $(rpath) works):

${!nostdlib:%{!rpath:-rpath /usr/local/lib} %{rpath:-rpath $(rpath):/usr/local/lib}}

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]