Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!cbmehq!cbmdeo!lenler!moria!bojsen From: bojsen@moria.UUCP (Per Bojsen) Newsgroups: comp.sys.amiga.programmer Subject: Re: Comeau C++ - minor hassles Message-ID: <1961a9e1.ARN3900@moria.UUCP> Date: 30 Jun 91 13:21:21 GMT References: <196141bc.ARN2287@prolix.pub.uu.oz.au> Reply-To: cbmehq!moria!bojsen Followup-To: comp.sys.amiga.programmer Organization: IDUN-Soft Aps. Lines: 36 In article <196141bc.ARN2287@prolix.pub.uu.oz.au>, Andrew Clayton writes: > On installing it, I tried to run it, and couldn't get the > environment to work until I messed around with the COMO Rexx > routine. > This happened for me, too. > My surmisation is that the developers of Comeau C++ for the Amiga > are using something other than Amigashell for their command > environment - something like WSHELL. > Yes, I came to the same conclusion. I surmise that WShell will execute Rexx scripts implicitly (and strip off the .rexx suffix), that Rexx scripts executed from WShell don't need the `ADDRESS COMMAND' line, and that WShell allows redirection clauses to occur anywhere on the command line (maybe the 2.0 AmigaShell allows that too ;-)). > One last gripe - whilst the CCtest2.cp program (with cout << > 'hello world') worked great (even though it was 26K long!), the > pure C version (printf("Hello World\n")) doesn't LINK when run > through the COMO script. > I had no such problem. Might be a SAS/C setup/installation problem (?). BTW: Did you see my post on a *major* Comeau C++/Lattice C++/cfront problem? Just try doing a two module program, which includes iostream.h in both modules! -- .------------------------------------------------------------------------------. | Greetings from Per Bojsen. | +------------------------------+-----------------------------------------------+ | EMail: cbmehq!lenler!bojsen | "Names do have power, after all, that of | | Or: bojsen@dc.dth.dk | conjuring images of places we have not seen" | `------------------------------+-----------------------------------------------'