You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ELKS 8086 Toolchain for ELKS. This project contains a C and assembly languages toolchain for 8086
CPU targetting ELKS, which can run nativelly on ELKS or on other platforms (eg. Linux and MacOS X).
ELKS toolchain C compiler is C86, by Matthew Brandt, Christoph van Wuellen, Keith and Dave Walker.
Also part of the toolchain are an assembler, linker, C pre-preprocessor, archiver and disassembler.
Bruce Evans, Jody Bruchon et al. are the authors for dev86's cpp, ld, ar and as.
Make is courtesy of David Given, Carl Eric Codere and Ceriel Jacobs, while disasm (dis88) was originally authored by G. M. Harding.
Many improvements and changes by Rafael Diniz and Gregory Haerr for making all the software run on ELKS.
The most important components of the toolchain are:
Basically, after all environment variables set, type:
make
ELKS binaries will be in "elks-bin" and host binaries in "host-bin". Build should
work on any recent Linux or MacOS with OpenWatcom v2 installed (source the OW owsetenv.sh script for setting
OpenWatcom environment variables and env.sh from ELKS, or just env.sh from ELKS and wcenv.sh in libc directory of
ELKS top-dir, after adjusting the path to OpenWatcom directory).
The ELKS source code top directory contains a script 'buildc86.sh' which builds the
toolchain binaries, and 'copyc86.sh' which copies the toolchain binaries, headers and
library to ELKS /usr, as well as an archive 'devc86.tar'.