Article View: gnu.epoch.misc
Article #1944Re: building, well, emacs on Ultrix 4.2
From: Brian W. Masinick
Date: Tue, 23 Jul 1991 14:42
Date: Tue, 23 Jul 1991 14:42
66 lines
2965 bytes
2965 bytes
In article <9107222237.AA02901@phecda>, tsang@isi.com (Kam C. Tsang) writes:
>Newsgroups: gnu.epoch.misc
>Path: e2big.mko.dec.com!pa.dec.com!decwrl!uunet!cis.ohio-state.edu!isi.com!tsang
>From: tsang@isi.com (Kam C. Tsang)
>Subject: building, well, emacs on Ultrix 4.2
>Message-ID: <9107222237.AA02901@phecda>
>Sender: daemon@cis.ohio-state.edu
>Organization: GNUs Not Usenet
>Distribution: gnu
>Date: Mon, 22 Jul 91 18:37:56 GMT-)1:44
>Lines: 39
>
>[Sorry for posting this on a epoch list, someone please show me the
> address of the emacs list...]
>
>I'm trying to build emacs (not epoch) for a DECstation 3100 running
>Ultrix 4.2. In src/config.h I have
>
>#include "s-bsd4-2.h"
>
>and
>
>#include "m-vax.h"
>
>but then when it trys to compile crt0.c, we have the following errors:
>
># cc -c -Demacs crt0.c
>ccom: Error: crt0.c, line 194: syntax error
> asm(" .text ");
> ----^
>ccom: Error: crt0.c, line 195: syntax error
> asm(" .globl start ");
> ----^
>ccom: Error: crt0.c, line 196: syntax error
> asm(" start: ");
> ----^
>(ccom): crt0.c, line 196: cannot recover from earlier errors: goodbye!
> asm(" start: ");
> ----------------------------^
>
>Looks like this C compiler doesn't have asm().
>
>Can someone please point out what's the problem here? Thanks.
>
>-kam
> ----------------------------+-----------------------------
> Kam Tsang | User Interface Group
> (408) 980-1590 x 275 | Integrated Systems, Inc.
> (408) 980-0400 [Fax] | 3620 Jay Street
> tsang@isi.com | Santa Clara, CA 94054
> ----------------------------+-----------------------------
>
--
The "s-bsd4-2.h" was OK, but if you really have a DECstation 3100 and
not a VAXstation of some type, then it is NOT a VAX system. It is a
MIPS system. Therefore, use the machine file header "m-mips.h" and
the types of problems you described should go away.
Brian W. Masinick
Address: Phone:
Digital Equipment Corporation (603) 884-0038
Mailstop MKO2-1/D9
P.O. Box 9501
Digital Drive
Merrimack, NH 03054-9501
Technical Details
Message-ID:
<1991Jul23.144243.14892@e2big.mko.dec.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!uakari.primate.wisc.edu!zazen!decwrl!pa.dec.com!e2big.mko.dec.com!usenetReferences:
<9107222237.AA02901@phecda>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,c188303d59ecd8e1 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-07-23 16:16:36 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!uakari.primate.wisc.edu!zazen!decwrl!pa.dec.com!e2big.mko.dec.com!usenet From: masinick@themas.mko.dec.com (Brian W. Masinick) Newsgroups: gnu.epoch.misc Subject: Re: building, well, emacs on Ultrix 4.2 Message-ID: <1991Jul23.144243.14892@e2big.mko.dec.com> Date: 23 Jul 91 14:42:43 GMT References: <9107222237.AA02901@phecda> Sender: usenet@e2big.mko.dec.com (Mr. USENET) Reply-To: masinick@themas.mko.dec.com (Brian W. Masinick) Distribution: gnu Organization: Digital Equipment Corporation Lines: 66