From: utzoo!decvax!cca!hplabs!hao!menlo70!sytek!zehntel!varian!david@sri-unix Newsgroups: net.unix-wizards Title: pcc and uldiv for V7 PDP11 Article-I.D.: varian.115 Posted: Mon Nov 15 09:43:26 1982 Received: Thu Nov 18 10:14:53 1982 We run a PDP11/70 with 2.8BSD. When compiling some programs with pcc (as distributed in V7), I occasionally get uldiv and ulrem (unsigned long division and remainder?) undefined. The references are generated by pcc and those routines are not in the v7 clib, though they are in System III clib. Has anyone else run up against this? What sort of statements in your source program cause pcc to generate references to these routines? Does anyone have versions of uldiv.s and ulrem.s for v7 (we have source license)? My alternative is to change the System III version to run under V7 - it looks to me like the calling sequence may be different - the System III versions have calls to different csav and cret routines. Any information would be appreciated - thanks in advance. David Brown Varian Instruments 2700 Mitchell DR Walnut Creek Ca 94598 (415) 939-2400 x288 ...decvax!sytek!zehntel!varian!david