[Coco] Climax C Compiler setup
Walter
zambotti at iinet.net.au
Fri Mar 22 00:43:32 EDT 2019
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