From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Has anyone actually built emacs 21.3 for SOLARIS (sparc)? Date: Thu, 22 May 2003 15:06:10 +0000 (UTC) Organization: Stanford Linear Accellerator Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <5lhe7olyei.fsf@rum.cs.yale.edu> <5lu1bner7p.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053616426 21156 80.91.224.249 (22 May 2003 15:13:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 15:13:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 17:13:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19IrjF-0005HP-00 for ; Thu, 22 May 2003 17:11:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Iri9-0001b6-8H for gnu-help-gnu-emacs@m.gmane.org; Thu, 22 May 2003 11:10:29 -0400 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.unix.solaris Original-Lines: 37 Original-NNTP-Posting-Host: telemark.slac.stanford.edu Original-X-Trace: news.Stanford.EDU 1053615970 15489 134.79.24.241 (22 May 2003 15:06:10 GMT) Original-X-Complaints-To: news@news.stanford.edu X-Newsposter: trn 4.0-test76 (Apr 2, 2001) ; Originator: bbense@telemark.slac.slac.stanford.edu (Booker Bense) Original-Xref: shelby.stanford.edu gnu.emacs.help:113544 comp.unix.solaris:442831 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10037 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10037 -----BEGIN PGP SIGNED MESSAGE----- In article <5lu1bner7p.fsf@rum.cs.yale.edu>, Stefan Monnier wrote: >>> For that you need to either provide a -R/usr/sfw/lib argument or an >>> LD_RUN_PATH to the C compiler (the C compiler did find the library while >>> compiling, but the compiler does not assume that the library will be at the >>> same spot when you run the program as when you compile) or set >>> LD_LIBRARY_PATH if you forgot to give the relevant info to the compiler. >>> The -R option is the best choice. >> Any particular reason the -R stuff isn't added for a Solaris build? > >I remember discussions about it a long time ago, but didn't know >enough at that time and can't remember what was the conclusion. >It's odd also that the PROBLEMS file only mention LD_LIBRARY_PATH >and LD_RUN_PATH without mentioning the -R arg in LDFLAGS. > >I hope somebody who knows more about how `configure' chooses the -L and -R >args could help us at least write a better entry in PROBLEMS. > _ AFAIK, autoconf doesn't know how to set these things. You either have to write your own hacks to configure.in or use the generic libtool solution. Libtool was written to solve exactly this problem. _ Booker C. Bense -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBPsznYWTWTAjn5N/lAQGKjAP/QSdE4Myq4StJvHYT8wF4LsAP06ZwXNQd EgABJe2oNaXk9CViJ+RGG94CvZvhzAoDQ4kliQLhK3tpudvtuFC4jFcjyiuWqWgC di17GXbMnMrAWaY8oFqgBxbwl7EzuM/Nj61JonInXz2C/zIVUUoDclkmt175mEzB FGwvt1RCAYA= =r2aK -----END PGP SIGNATURE-----