Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!nrl-cmf!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sdcrdcf!csun!polyslo!steve From: steve@polyslo.UUCP (Steve DeJarnett) Newsgroups: comp.sources.d Subject: Re: recent ARC posting problem Message-ID: <3263@polyslo.UUCP> Date: 8 Jul 88 21:18:20 GMT References: <6022@pyr.gatech.EDU> <14197@shemp.CS.UCLA.EDU> <3262@polyslo.UUCP> Reply-To: steve@polyslo.UUCP (Steve DeJarnett) Organization: Lab Rat Rumpus Room -- Cal Poly SLO Lines: 43 In article <3262@polyslo.UUCP> steve@polyslo.UUCP (Steve DeJarnett) writes: >In article <14197@shemp.CS.UCLA.EDU> netsourc@sonia.MATH.UCLA.EDU (Net Sources Collector) writes: > Well, here's the good news. On a Pyramid, seeing as it has both the >BSD and AT&T C libraries (along with most everything else), this is quite >easy to overcome. Simply do the following: > > Instead of using 'cc' (the Berkeley side's cc), use the AT&T side's >cc (i.e. 'att cc'). > > att cc -o arc ...................... Well, this won't quite work. I was thinking of another program when I wrote this (oooooopps). Anyway, I just tried it, so here is the PROPER way (or at least the one that works) to do it: cc -o arc ........... libtws.a /.attlib/libc.a ^^^^^^^^^^^^^^^ Add this part to the end of your compile. > Or, you can simply include the AT&T side's C library by appending >the following flag on your compile: > > -l/.attlib/libc.a Whoa. Wrong. Won't work. Do it as shown above. Next time I have to learn to proofread my postings first. > Either one of these solutions should work (I just tried them both >on our Pyramid). Correction, I tried similar things, but on a different program. Just can't keep those darn compiler flags straight in my head on a Friday afternoon :-). Sorry about the screwup. The above-mentioned way REALLY DOES WORK. I honestly just tried it with the latest version of ARC. ------------------------------------------------------------------------------- | Steve DeJarnett | steve@polyslo.UUCP | | Computer Systems Lab | ...!{csustan,csun,sdsu}!polyslo!steve | | Cal Poly State Univ. | ...!ucbvax!voder!polyslo!steve | | San Luis Obispo, CA 93407 | | ------------------------------------------------------------------------------- #include