From xemacs-m  Thu Sep 25 22:27:57 1997
Received: from sirocco.CC.McGill.CA (sirocco.CC.McGill.CA [132.206.27.12])
	by xemacs.org (8.8.5/8.8.5) with SMTP id WAA13152
	for <xemacs-beta@xemacs.org>; Thu, 25 Sep 1997 22:27:56 -0500 (CDT)
Received: from scylla.math.mcgill.ca (Scylla.Math.McGill.CA [132.206.150.17]) by sirocco.CC.McGill.CA (8.6.12/8.6.6) with ESMTP id XAA11660; Thu, 25 Sep 1997 23:34:46 -0400
X-SMTP-Posting-Origin: scylla.math.mcgill.ca (Scylla.Math.McGill.CA [132.206.150.17])
Received: by scylla.math.mcgill.ca (951211.SGI.8.6.12.PATCH1502/930416.SGI.AUTO)
	 id XAA16011; Thu, 25 Sep 1997 23:28:52 -0400
To: Martin Buchholz <mrb@Eng.Sun.COM>
Cc: xemacs-beta@xemacs.org
Subject: Re: configure failure - 20.3b23 - mips-sgi-irix5.3
References: <yywen6d9zqa.fsf@scylla.math.mcgill.ca> <199709251928.MAA11667@xemacs.eng.sun.com>
Mail-Copies-To: never
From: Jason McLaren <mclaren@math.mcgill.ca>
In-Reply-To: Martin Buchholz's message of Thu, 25 Sep 1997 12:28:49 -0700
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 25 Sep 1997 23:28:47 -0400
Message-ID: <yywzpp021ow.fsf@scylla.math.mcgill.ca>
Lines: 38
X-Mailer: Gnus v5.4.52/XEmacs 20.2

>>>>> "MRB" == Martin Buchholz <mrb@Eng.Sun.COM> writes:

    MRB> So where did the

    MRB>   -Xlinker -G -Xlinker 0

    MRB> come from? Look at the configure command line and the
    MRB> environment variables

Good question. My configure command line was

configure --prefix=$LOCAL/beta --with-x11=no

and none of the environment variables mentioned in the configure file
were set.

As far as I can tell, configure adds the -Xlinker stuff based on the
values of $ld_switch_system, $ld_switch_machine, $LDFLAGS, and
$ld_call_shared. I tried to trace back to where these were set, but
ran into dead ends. During configure-ing, these and other
possibly-relevant variables are apparently set as follows:

libs_machine = ''
libs_system = ''
libs_termcap = ''
libs_standard = ''
[snip]
ld_switch_machine = ''
ld_switch_system = '-G 0'
ld_switch_x_system = ''
[snip]
ld_switch_machine = ''
ld_switch_system = '-G 0'
ld_switch_x_system = ''

So, I don't know where -Xlinker is getting set.

Jason

