Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!ccncsu!segovia.CS.ColoState.Edu!wendt From: wendt@segovia.CS.ColoState.Edu (alan l wendt) Newsgroups: comp.sys.hp Subject: Re: BUG in unshared programs on HP-UX Message-ID: <2466@ccncsu.ColoState.EDU> Date: 25 Aug 89 15:59:40 GMT References: <2450@ccncsu.ColoState.EDU> <5570276@hpfcdc.HP.COM> Sender: news@ccncsu.ColoState.EDU Reply-To: wendt@segovia.CS.ColoState.Edu.UUCP (alan l wendt) Organization: Colorado State University Department of Computer Science Lines: 19 OK, it's not a bug, it's a feature. The manuals certainly don't go out of their way to bring it to my attention. The man page for cc says of -N: "for details and system defaults, see ld(1)". The slight detail that programs compiled with -N won't execute is not mentioned. Neither is this mentioned in the ld(1) entry for -N, which mostly restates the entry in cc(1). You have to read most of the man page for ld(1) to discover this. And the error message that exec returns is: "not enough space", which is not amazingly revealing. Plus, this is a new restriction. It worked at some time in the past, and the Icon distribution uses it for some reason. So I build the Icon distribution using the hp customization package, and two of the four executables tell me: not enough room. The fine print at the bottom of the ld(1) page is not the first place I look for answers. Alan Wendt