Y
Hacker News
new
|
ask
|
show
|
jobs
by
TZubiri
143 days ago
To compile CScript to C:
apt install gcc-dev
cat hello.cs > hello.c
gcc hello.c
1 comments
eqvinox
143 days ago
Nope⦠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 :)
link