Back to front pageView on Hacker News (opens in a new tab)Show HN: Space Invaders in C (opens in a new tab)blog.loadzero.com478 pointsby loadzero (on Hacker News)6 years agoblog.loadzero.com (opens in a new tab)Space Invaders in CSpace Invaders in CComments (105) 25 threadsShow all commentsShowing thread 12 of 25[-]zoomablemind6 years ago1 reply#Nice job! Such a pleasure to read a clean C code.BTW, in case anyone tries to build it on Ubuntu 14.04 x86 with gcc, you'd need `-std=gnu99 -D_GNU_SOURCE` flags, otherwise it barks about stack_t in ucontext.veganjay6 years ago#Thanks for posting this - I also needed this flag on Ubuntu 16.04 64-bit
Show HN: Space Invaders in C (opens in a new tab)blog.loadzero.com478 pointsby loadzero (on Hacker News)6 years ago
zoomablemind6 years ago1 reply#Nice job! Such a pleasure to read a clean C code.BTW, in case anyone tries to build it on Ubuntu 14.04 x86 with gcc, you'd need `-std=gnu99 -D_GNU_SOURCE` flags, otherwise it barks about stack_t in ucontext.
Comments (105) 25 threads
Show all comments
Showing thread 12 of 25
BTW, in case anyone tries to build it on Ubuntu 14.04 x86 with gcc, you'd need `-std=gnu99 -D_GNU_SOURCE` flags, otherwise it barks about stack_t in ucontext.