Skip to content
Thomas Foster edited this page Mar 22, 2021 · 8 revisions

Welcome to the LibDOS wiki!

How to Install

Linux and Mac

In a location of your choosing, at the command line, type:

git clone https://github.com/xiphiasnonus/LibDOS.git

In the directory that's created (called LibDOS), type:

make install

This will build libdos.a and copy it and the header files to /usr/local/lib and /usr/local/include, respectively. (If you want to build the library but not install it, just type make.)

Windows

(Coming soon(?))

How to Build

To build a LibDOS program you must link with the LibDOS library and the SDL2 library:

cc main.c -ldos -lSDL2

This assumes libdos.a is in the system library location (/usr/local/lib).

Header Files

Clone this wiki locally