Skip to content

[cmds] Build fsck-dos.os2 and paint.os2 when WATCOM environment installed#2425

Merged
ghaerr merged 2 commits intomasterfrom
owcbuild
Oct 28, 2025
Merged

[cmds] Build fsck-dos.os2 and paint.os2 when WATCOM environment installed#2425
ghaerr merged 2 commits intomasterfrom
owcbuild

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Oct 28, 2025

This is the first step in automatically building some OpenWatcom applications already in the ELKS applications tree.

When OpenWatcom C has been configured for ELKS by executing the libc/wcenv.sh script, the WATCOM= environment variable is set and the OWC tools are added to PATH.

When WATCOM is defined, an enhanced FAT filesystem checker is built using OWC huge model fsck-dos.os2, which allows for checking FAT16 HD images without running out of memory, and an experimental paint.os2 OWC version of Paint is built, for testing graphics using OWC. In addition, when C86 is defined from executing c86env.sh in 8086-toolchain, the C86 version of Paint paint.c86 is built, testing the C86 compiler and development library by building a larger application.

All these programs are copied directly to /bin in the target image (elkscmd/rootfs_template/bin). The next step will be integrating external Nano-X into the build process.

@ghaerr ghaerr merged commit 6a5f431 into master Oct 28, 2025
1 check passed
@ghaerr ghaerr deleted the owcbuild branch October 28, 2025 22:38
@toncho11
Copy link
Copy Markdown
Contributor

Great for the Nano X builds. It is needed for release 9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants