User Tools

Site Tools


x68000:helloworld_c

This is an old revision of the document!


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.1505025151.txt.gz · Last modified: 2019/08/27 20:44 (external edit)