Comment on The Cscript Style Guide – CScript is the standard CComments−TZubiri7moTo compile CScript to C:apt install gcc-devcat hello.cs > hello.cgcc hello.c−eqvinox7moNope… you need to follow the instructions: gcc -std=gnu89 -m32 -fno-builtin because GCC defaults to ISO C23 these days, and that will not work, and neither will anything where int and a pointer aren't the same size :)
Comments
To compile CScript to C:
apt install gcc-dev
cat hello.cs > hello.c
gcc hello.c
Nope… you need to follow the instructions:
because GCC defaults to ISO C23 these days, and that will not work, and neither will anything where int and a pointer aren't the same size :)