Repository navigation
djgpp-platform 0.1.0: the i586-dos-djgpp row, DJGPP's GCC, DOSBox Staging through dirun - #1
Merged
Merged
Conversation
…ging through dirun The row is data: COFF objects, .exe, a 32-bit data model and the execution system dos, its GCC named by the row's GCC target i586-pc-msdosdjgpp. The runner is dirun's payload form with DOSBox Staging's profile. examples/hello checks its arguments and a file round trip and returns 42; CI builds and runs it on Linux x86_64.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first release of the platform package for 32-bit DOS programs built by DJGPP (mcpp SPEC-013).
i586-dos-djgppis data in[[platform.define]]:.exe, an ILP32 data model and the execution systemdos;i586-pc-msdosdjgpp, whose payload is the xim packagei586-pc-msdosdjgpp-gcc12.2.0.C:, and the program's output and status are read back from the files a launcher writes.examples/hello(C) checks its arguments and a file written and read back, then returns 42. CI builds it, checks that it is a go32 executable, and runs it throughmcpp run.C only: mcpp compiles C++ as modules, which needs a GCC with dependency scanning (14 and later). DJGPP's GCC is 12.2.0.
Dependencies
mcpp_ref(or the repository variableMCPP_SOURCE_REF) builds mcpp from that branch instead.i586-pc-msdosdjgpp-gcc,dosbox-staginganddirun0.3.x are in mtest 0.7.0, dirun 0.3.2, gcc 16.2.0 and 17 snapshot, and the platform runners' packages (ovmf, wine, dosbox-staging, djgpp) openxlings/xim-pkgindex#1151.Verification (local)
mcpp run --target i586-dos-djgpp -- one twoprinted the arguments and the file check, and returned 42. It ran under DOSBox Staging 0.83.0 through dirun, with packages installed in an isolated xlings home.