Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!umd5!ames!amdahl!dlb!megatest!djones From: djones@megatest.UUCP (Dave Jones) Newsgroups: comp.unix.questions Subject: Re: exit(main(argc,argv,env)); Message-ID: <173@goofy.megatest.UUCP> Date: 22 Dec 87 23:51:59 GMT References: <2058@bloom-beacon.MIT.EDU> Organization: Megatest Corporation, San Jose, Ca Lines: 15 in article <2058@bloom-beacon.MIT.EDU>, wesommer@athena.mit.edu (William Sommerfeld) says: GNU emacs has its own version of crt0.c (with probably hundreds of #ifdefs to account for all sorts of machine dependancies) because it has to be able to dump out a core image of itself containing pre-loaded emacs lisp, and then restart this core image later. It's quite possible to dump core without hacking crt0.c, which seems to me to be an absolute no-no. (But then, I'm the guy who hacked exit().) Must be some other reason for the special crt0.c in gnu-emacs. -- djones