Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!nrl-cmf!ukma!gatech!udel!princeton!idacrd!dld From: dld@idacrd.UUCP (David DeGeorge) Newsgroups: comp.lang.c++ Subject: Re: C++ on Sun3 Message-ID: <382@idacrd.UUCP> Date: 4 Feb 88 13:52:30 GMT References: <60@uw-beaver.cs.washington.edu> <7388@pur-ee.UUCP> Distribution: na Organization: idacrd, princeton, nj Lines: 18 Summary: use a different basename In article <7388@pur-ee.UUCP>, 3ksnn64@pur-ee.UUCP (Joe Cychosz) writes: > I do have a problem with the object file names that I don't have on > my IRIS 4D. The object names are all file.c.o instead of file.o You probably need a smarter version of basename. The sysV basename is such that: if x = ` basename u.c .[cC]` then $x = u. The shell script CC uses this fact to take care of the names of things. Look on your Iris basename is probably a shell script that uses expr in a clever way. Either install this as basename on the SUN or arrange for CC to use it. By the way I cannot get CC to work on a SUN-3 using 3.4. It makes OK but the final front end just hangs. And I have made all the changes to stdio.h. ( getc putc clearerr IORW ....) David DeGeorge. ....princeton!idacrd!dld