Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ptsfa!ihnp4!alberta!calgary!west From: west@calgary.UUCP (Darrin West) Newsgroups: comp.lang.c++ Subject: Porting to Sun Message-ID: <1167@vaxb.calgary.UUCP> Date: Wed, 28-Oct-87 21:50:58 EST Article-I.D.: vaxb.1167 Posted: Wed Oct 28 21:50:58 1987 Date-Received: Wed, 4-Nov-87 06:43:23 EST Organization: U. of Calgary, Calgary, Ab. Lines: 30 Keywords: BSD4.2 C++(1.1) I have been given the dubious honour of porting our vax version 1.1 C++ translator to the suns. We run BSD4.3 on the Vaxes and BSD4.2 on the Suns. Has anyone out there done this port before? If so are there any hints you would be willing to share with me (or the world)? I have run into one problem. After bootstrapping on the sun (by compiling the stuff in the scratch directory), I go on to compile the libraries (I have not converted the tasking stuff; if you have, I would gladly arrange to get a copy), munch, and cfront. The libraries and munch seemed to work just fine. All the files of cfront also compiled, except main.c. It died on line 457? (anyway, it is the last line of the funcion "main" ie the close bracket for the function), giving the obnoxious error "internal error <...> error: bus error (or something natsy like that)" Have you seen this before? Anyway, I ftp'ed a copy of the output of "CC -F main.c" run on the vax, and cc'ed it on the sun. This allowed me to get the new and improved cfront, but when I went to run CC main.c again, it gave the same error. Any hints you have would be appreciated. I hope it is something obvious that I will be embarassed about later. :-/ -- Darrin West, Master's Unit (read: student). ..![ubc-vision,ihnp4]! Department of Computer Science alberta!calgary!west University of Calgary. Can you say '88 Winter Games? Brain fault (cortex dumped)