[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defining LD_SWITCH_SYSTEM_TEMACS for Solaris
From: |
Richard Stallman |
Subject: |
Re: defining LD_SWITCH_SYSTEM_TEMACS for Solaris |
Date: |
Sat, 13 Mar 2004 21:55:12 -0500 |
Please try this new version of the file.
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) */