GCC (DJGPP) 14.2 build that targets DOSBox (i586, DOS). Bind your sources to /src, and run it.
446
This is a GCC(DJGPP) build based on ArchLinux' PKGBUILD script from https://aur.archlinux.org/packages/djgpp-gcc . It is targeting i586 architecture, so it can create programs that run in DOSBox without issues.
Also included into the image are a build of GRX and GNU Make.
How to use:
docker run --rm --mount type=bind,src=<SOURCE DIRECTORY>,dst=/src jagholin/dosbox-gcc
This will automatically run make to build your project using Makefile. Of course, you can specify your own command at the end(the default is just make).
For your convenience, following VARiables are exported and can be used in Makefiles:
For example, an instruction to build hello.exe from hello.c can look like this:
hello.exe: hello.c
$(CC) -o hello.exe hello.c
Content type
Image
Digest
sha256:475d7cf72…
Size
316.1 MB
Last updated
about 1 year ago
docker pull jagholin/dosbox-gcc