[comp.emacs] Getting Emacs to go

dg@lakart.UUCP (David Goodenough) (08/26/88)

We recently got the Gnu emacs source delivered here at lakart, and I set
about doing a make to bring it to life. Unfortunately our C compiler /
assembler completely choked up when it came time to do something with
the revised crt0.c that is needed to get emacs to go. If anyone has got
emacs running on an Integrated Solutions machine (BSD 4.3) please E-mail
so I can find out what isn't working. To provide some insight - our
compiler doesn't grok the crt0.c that gets produced: here are the most
interesting bits of it.
------------------------------------------------------------
int data_start = 0;
   
char **environ;
	asm ("	global	_start");
	asm ("	text");
	asm ("_start:");
	asm ("  comm	splimit%,4");
	asm ("	global	exit");
	asm ("	text");
  	asm ("	mov.l	%d0,splimit%");
	asm ("	jsr	start1");
	asm ("	mov.l	%d0,(%sp)");
	asm ("	jsr	exit");
	asm ("	mov.l	&1,%d0");	
	asm ("	trap	&0");
static
start1 (argc, xargv)
     int argc;
     char *xargv;
{
  register char **argv = &xargv;
  environ = argv + argc + 1;
  if ((char *)environ == xargv)
    environ--;
  exit (main (argc, argv, environ));
}
------------------------------------------------------------

What is going wrong?????
Please E-mail as I don't generally read these newsgroups,

		Thanks in advance for your help,
-- 
	dg@lakart.UUCP - David Goodenough		+---+
							| +-+-+
	....... !harvard!cca!lakart!dg			+-+-+ |
						  	  +---+