[Coco] Climax C Compiler setup

Stephen Fischer SFischer1 at Mindspring.com
Fri Mar 22 18:43:56 EDT 2019


Bill has a likely explanation.

The Climax "C" Compiler is like several OS, no one is around to fix 
anything, you are required to fix any bugs you find yourself.

SHF

On 3/21/2019 9:43 PM, Walter wrote:
> I'm trying to get the new:
> 
>   
> 
> c_prep
> 
> ansifront
> 
> cc (2.5.2)
> 
>   
> 
>  From the Climax_CMDS_40T2S.dsk
> 
>   
> 
> to work but c.pass1 is complaining there are now errors in the code.
> 
>   
> 
> This can't be the case because I can compile the code with no problem using
> CC 2.3.0 and the older c.prep.
> 
>   
> 
> The c.pass1 & c.pass2 are identical between the two C environments so I am
> suspecting the new c_prep
> is screwing things up.  I'm not sure if this c_prep is the same as
> c.prep19B?
> 
>   
> 
> My code is just hello world.
> 
>   
> 
> #include <stdio.h>
> 
>   
> 
> int main(argc, argv)
> 
> int argc;
> 
> char **argv;
> 
> {
> 
>      printf("Hello World\n");
> 
>      return 0;
> 
> }
> 
>   
> 
> Error is function unfinished:
> 
>    return 0;
> 
>                    ^ (pointing to semicolon)
> 
>   
> 
> I have tried changing the main to :
> 
>   
> 
> int main(int argc, char **argv)
> 
>   
> 
> but no difference.
> 
>   
> 
> I have tried cc with and with -A (ansi mode) but still broken.
> 
>   
> 
> I'm not sure I have all the latest or correct components.
> 
>   
> 
> Does anyone have a pointer to where I can download a working copy of the
> latest CC environment?
> 
>   
> 
> Walter
> 
> 


More information about the Coco mailing list