Skip to content

Native ELKS Toolchain! C Compiler, Assembler, Linker and many other tools for ELKS

Notifications You must be signed in to change notification settings

rafael2k/8086-toolchain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Native ELKS Toolchain

ELKS 8086 Toolchain is a work-in-progress project for providing a native ELKS 8086 C compiler toolchain.

This is a fork of the upstream 8086-toolchain, which contains and old NASM version (by Simon Tatham and Julian Hall), and the C86 C compiler by Matthew Brandt, Christoph van Wuellen, Keith and Dave Walker. It was introduced to complete the ELKS native toolchain software by Bruce Evans, Jody Bruchon et al., namely 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:

In order to build the ELKS binaries, gcc-ia16 and also OpenWatcom v2 is required. Please refer to Wiki: Setting up the 8086 toolchain (C86 compiler and tools).

To build, 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).

There is a also a binary distribution available in https://github.com/rafael2k/8086-toolchain/tree/dev/elks-devdisk

Build and Install

For now, use this instructions: Setting up the 8086 toolchain (C86 compiler and tools).

ELKS DevDisk

We'll provide in elks-devdisk a bootable ELKS image with the toolchain installed, and standalone tarball with all toolchain software, C library and headers.

Issues

Please report issues at Issues.

About

Native ELKS Toolchain! C Compiler, Assembler, Linker and many other tools for ELKS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 72.9%
  • C++ 10.0%
  • Perl 6.6%
  • HTML 4.8%
  • Assembly 2.1%
  • Makefile 1.6%
  • Other 2.0%