From xemacs-m  Tue Jun 17 21:22:02 1997
Received: from bcarsde4.localhost (mailgate.nortel.ca [192.58.194.74])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA16931
	for <xemacs-beta@xemacs.org>; Tue, 17 Jun 1997 21:22:01 -0500 (CDT)
Received: from bcarsde5.ott.bnr.ca (actually 47.80.6.26) by bcarsde4.localhost;
          Tue, 17 Jun 1997 22:18:06 -0400
Received: from nquah6f (actually nquah6f.ott.bnr.ca) by bcarsde5.ott.bnr.ca;
          Tue, 17 Jun 1997 22:19:47 -0400
Received: by nquah6f (1.38.193.4/16.2 BNR V4.2 P1) id AA19269;
          Tue, 17 Jun 1997 22:12:50 -0400
From: "Barry Friedman" <friedman@nortel.ca>
Message-Id: <9706180212.AA19269@nquah6f>
Subject: Re: [oslo] Configure failed with hp-c89
To: mrb@Eng.Sun.COM
Date: Tue, 17 Jun 1997 22:12:50 -0400 (EDT)
Cc: xemacs-beta@xemacs.org
Reply-To: "Barry Friedman" <friedman@nortel.ca>
In-Reply-To: <199706180045.RAA02545@xemacs.eng.sun.com> from "Martin Buchholz" at Jun 17, 97 05:45:48 pm
X-Mailer: ELM [version 2.4.1 PL23]
Content-Type: text

>>>>> In reply to Martin Buchholz:
> 
> Well, so what does config.log say?  Usually the reason for failure is
> simple, for example:
> export CC=/bin/sh
> 
config.log:

configure:3187: checking size of long
configure:3201: cc -Aa -o conftest -O   -I/usr/local/include  -Ae -Wp,-H100000
   -L/usr/local/lib  -a archive -L/lib/pa1.1   conftest.c        -lc 1>&5
cc: warning 422: Unknown option "a" ignored.
/bin/ld: Can't open archive
/bin/ld: No such file or directory
configure: failed program was:
#line 3190 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(long));
  exit(0);
}

Here's the relevent man page entry for "c89"  aka cc

      -Wx,arg1[,arg2...]
                     Pass the argument[s] argi to subprocess x, where x can
                     assume one of the values listed under the -t option as
                     well as d (driver program).  The -W option
                     specification allows additional, implementation-
                     specific options to be recognized by the compiler
                     driver.  For example,

                          -Wl,-a,archive

                     causes the linker to link with archive libraries
                     instead of with shared libraries.  See ld(1) for


-- 
Barry Friedman                         

