x68000:helloworld_c
Tested with GCC 1.30 Tool#2 patchlevel 5 and GCC 2.6.3 Lv.3 Exp.20.
Build with either:
gcc hello.c -ldos -o hello.x
gcc2 hello.c -ldos -o hello.x
Code:
#include <doslib.h> void main(int argc, char *argv[]) { _PRINT("Hello world!\n"); }
x68000/helloworld_c.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1