This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the EGCS project.
Re: Installation of GCC-2.95 for IRIX5.3
- To: s1042080@u-aizu.ac.jp
- Subject: Re: Installation of GCC-2.95 for IRIX5.3
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 03 Aug 1999 00:58:25 -0300
- Cc: gcc@gcc.gnu.org
- References: <19990802133803M.s1042080@u-aizu.ac.jp>
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