🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Kam C. Tsang Mon, 22 Jul 1991 22:37
building, well, emacs on Ultrix 4.2
#1935
Author: Kam C. Tsang
Date: Mon, 22 Jul 1991 22:37
39 lines
1800 bytes
[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
     ----------------------------+-----------------------------
Re: building, well, emacs on Ultrix 4.2
#1944
Author: Brian W. Masinick
Date: Tue, 23 Jul 1991 14:42
66 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads