NoelFB / c89_nolib

a quick experiment to see if i can make a "game" in c89 without the C standard library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a very simple experiment to see if i can make a game in C89 without the standard library.

Windows example building with GCC:

  • only compile game.c, it includes everything else.
  • use the equivalent of -nostdlib and -std=c89
gcc game.c -nostdlib -std=c89 -e _start C:\Windows\System32\user32.dll C:\Windows\System32\Gdi32.dll C:\Windows\System32\kernel32.dll

For non-Windows, a different Platform implementation must to be defined, which in turn should call nb_init and nb_step.

About

a quick experiment to see if i can make a "game" in c89 without the C standard library

License:MIT License


Languages

Language:C 100.0%