Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!uflorida!travis!tom From: tom@ssd.csd.harris.com (Tom Horsley) Newsgroups: comp.sys.m88k Subject: Re: porting ksh on DG/UX Message-ID: Date: 16 Jan 91 11:29:46 GMT References: <2916@hsi86.hsi.com> Sender: news@travis.csd.harris.com Followup-To: comp.sys.m88k Distribution: na Organization: Harris Computer Systems Division Lines: 23 In-reply-to: kenney@hsi86.hsi.com's message of 15 Jan 91 16:18:07 GMT I don't know what the GCC problem could be, but once you get around it, you will have another problem: Ksh automatically defines an environment variable named '_' with the path name to the last command. Unfortunately (at least on DG/UX 4.31) if you have an environment variable named '_', the 'make' program aborts during its initialization (presumably when reading in the environment). I discovered this one while porting a different shell that does the same thing, but it can be easily reproduced even in /bin/sh by doing something like: _=/bin/make export _ make -- ====================================================================== domain: tahorsley@csd.harris.com USMail: Tom Horsley uucp: ...!uunet!hcx1!tahorsley 511 Kingbird Circle Delray Beach, FL 33444 +==== Censorship is the only form of Obscenity ======================+ | (Wait, I forgot government tobacco subsidies...) | +====================================================================+