[Coco] Climax C Compiler setup

Walter zambotti at iinet.net.au
Fri Mar 22 23:01:13 EDT 2019


AWESOME!!!

I'll have a look.  My guess it is looking for just EOL instead of EOL & EOF.

Walter

-----Original Message-----
From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of Stephen Fischer
Sent: Saturday, 23 March 2019 6:44 AM
To: coco at maltedmedia.com
Subject: Re: [Coco] Climax C Compiler setup

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
> 
> 

-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list