From xemacs-m  Wed May 28 10:14:58 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA04390
	for <xemacs-beta@xemacs.org>; Wed, 28 May 1997 10:14:56 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id RAA15716; Wed, 28 May 1997 17:14:55 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: `-R' on Solaris
References: <199705281251.HAA26173@xemacs.org> 	<kigenarheeh.fsf@jagor.srce.hr> <199705281446.QAA07001@sen2.ida.liu.se>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
X-Tom-Swifty: "I'm fond of Pavarotti," Tom said menacingly.
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 28 May 1997 17:14:55 +0200
In-Reply-To: David Byers's message of Wed, 28 May 1997 16:46:33 +0200
Message-ID: <kigwwojfx1s.fsf@jagor.srce.hr>
Lines: 39
X-Mailer: Gnus v5.4.52/XEmacs 20.2

David Byers <davby@ida.liu.se> writes:

> From what I've read it sounds like you have a problem with gcc, not
> XEmacs. If you gcc searches /usr/local/lib by default, then it should
> probably do the equivalent of -R/usr/local/lib by default too, and you
> may need to fix your gcc.

My gcc installation is quite normal, and I've seen the problem on some 
other Solaris systems.

People often work around the bug so that they put /usr/local/lib to
`LD_LIBRARY_PATH'.  That solution is bad, and doesn't work for all
programs.

> If you've told configure aboud /usr/local/lib with --site-libraries
> you should be adding --site-runtime-libraries too.

I haven't told it anything.  The only site-libraries I am adding are
$HOME/work/lib, for compface.  And those are static.

> If the configure script is adding -L/usr/local/lib to the link flags
> by default, then it should stop that sort of silliness, and force you
> to use --site-libraries and --site-runtime-libraries instead, since
> /usr/local/lib is not standard on Solaris systems.

It's not a silliness.  I like the fact that libxpm, and other useful
libraries are autodetected.  For that matter, Gcc isn't standard
either.  Neither is a host of other things.  It's fine for XEmacs to
assume that /usr/local/lib directory contains workable stuff.  I just
want XEmacs to *work* with it, by adding that one more flag required
by the system.  It does add -R/usr/dt/lib:/usr/openwin/lib:...  Only
-R/usr/local/lib is missing.  It's not much.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
WWW:  World-Wide-Waste.  Waste management corporation, which
      handles the billions of tons of garbage generated by just
      about everybody these days.

