Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!ucsd!rutgers!mit-eddie!bu-cs!mirror!ssi3b1!ssibbs!jac From: jac@ssibbs.UUCP (James Crotinger) Newsgroups: comp.sys.amiga Subject: Re: C++ and CLTD. Message-ID: <74@ssibbs.UUCP> Date: 27 Jan 89 07:13:40 GMT References: <10406@pur-ee.UUCP> Organization: Sangho's Public Access Unix, Cambridge, MA Lines: 32 In article <10406@pur-ee.UUCP>, youngb@pur-ee.UUCP (H. Bret Young) writes: > Two qustions: > 1) Can someone tell me what compiler version comes with C++ from Lattice. > I have not upgraded to ver5.0 yet and was thinking of getting C++ and > want to know if I do get C++ do I also need to get the 5.0 upgrade or > does it come with it?? I can't seem to get ahold of the right people > at Lattice to give me an answer. If the 4.? version does come with the > C++ package then is there any advantage to upgrading to 5.0? I mean > will C++ take advantage of the new features? > > UUCP: youngb@pur-ee.uucp Currently the C++ package comes with v4.0 of the compiler and I don't believe there are any plans to change that. Also, the C++ package does not contain everything required to do C programming, for instance the C header files (LC would definitely not like the C++ header files). C++ will make use of v5.0 of the compiler since it just calls LC1 and LC2 after the translator is finished. If you want to make use of the optimizer, however, you have to bypass CC, and do the entire routine by hand (cpp, cfront, lc1, go, lc2, blink, yawn...). Of course lmk could make this trivial. I don't know if C++ owners get a price break on 5.0 or not. I don't think they do, though I think they should. Jim -- Jim Crotinger crotinger%mit.mfenet@nmfecc.arpa