-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Thomas Foster edited this page Mar 22, 2021
·
8 revisions
Welcome to the LibDOS wiki!
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.)
(Coming soon(?))
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).