emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defining LD_SWITCH_SYSTEM_TEMACS for Solaris


From: John Paul Wallington
Subject: Re: defining LD_SWITCH_SYSTEM_TEMACS for Solaris
Date: Mon, 15 Mar 2004 12:14:01 +0000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50

Richard Stallman <address@hidden> wrote:

> Please try this new version of the file.

I'm afraid I'll have to wait a day or two before trying it.

Klaus Zeitler <address@hidden> and Katsumi Yamaoka
<address@hidden> both use Emacs from CVS on Solaris.
Please ask them too.

I suspect -z nocombreloc isn't recognized by some versions of gcc or
ld nor by Sun's ld, though it worked on my system which has gcc-2.95
built to use Sun's ld and as plus GNU binutils built from CVS head.

> I have not installed it yet because other problems may remain.
>
> /* Handle Solaris 2.6.  */
>
> #include "sol2-5.h"
>
> #if 0 /* dldump does not handle all the extensions used by GNU ld.  */
> #undef UNEXEC
> #define UNEXEC unexsol.o
> #endif
>
> /* "Dennis McRitchie" <address@hidden> reported failures
>    with GNU ld without this.  */
>
> #ifndef __GNUC__
> #undef LD_SWITCH_SYSTEM_TEMACS
> #define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc -L/usr/ccs/lib 
> LD_SWITCH_X_SITE_AUX \
>   `NOT_USING_MOTIF || echo ' -R/usr/dt/lib'`
> #else
> /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
>    has anything in it.  It can be empty.
>    This works ok in temacs.  */
> #define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc -L/usr/ccs/lib \
>  `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \
>   `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'`
>
> #endif
>
> /* arch-tag: 71ea3857-89dc-4395-9623-77964e6ed3ca
>    (do not change this comment) */
>
>
> _______________________________________________
> Emacs-pretest-bug mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/emacs-pretest-bug




reply via email to

[Prev in Thread] Current Thread [Next in Thread]