Commit diff
Commit c57fac0c5701faaaf59bfa051e0663852ee81a5
commit c57fac0c5701faaaf59bfa051e0663852ee81a5d
Author: Greg Haerr <greg@censoft.com>
Date: Sun Mar 15 17:56:50 2026 -0700
[build] Add DCC to buildext.sh, also update ngircd_elks build
---
buildext.sh | 20 +++++++++++++++++++-
elkscmd/ExtApplications | 4 ++--
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/buildext.sh b/buildext.sh
index 629fe9f2..58d48913 100755
--- a/buildext.sh
+++ b/buildext.sh
@@ -11,6 +11,7 @@
# Currently supported projects are:
# Name Compiler Desc
# microwindows ia16-elf-gcc Nano-X Graphical Windowing Environment
+# dcc ia6-elf-gcc DCC self-compiling C compiler for ELKS
# dflat ia16-elf-gcc D-Flat TUI memopad/library
# elkirc ia16-elf-gcc IRC for ELKS
# owc_libc OpenWatcom ELKS C Library compiled by OWC
@@ -145,6 +146,21 @@ microwindows()
echo "Nano-X build complete"
}
+dcc()
+{
+ echo "Building DeSmet C Compiler (DCC)..."
+ cd $TOPDIR/extapps
+ if [ ! -d dcc ] ; then
+ git clone https://github.com/ghaerr/dcc
+ fi
+ cd dcc/src
+ git pull
+ make clean
+ make
+ ./copyc88.sh
+ echo "DCC build complete"
+}
+
dflat()
{
echo "Building D-Flat..."
@@ -183,6 +199,7 @@ ngircd_elks()
git clone https://github.com/parabyte/ngircd-elks
fi
cd ngircd-elks
+ rm -f src/*/*.obj ngircd.os2
git pull
NGIRCD_DIR=$TOPDIR/extapps/ngircd-elks make -e -f Makefile.owc clean
NGIRCD_DIR=$TOPDIR/extapps/ngircd-elks make -e -f Makefile.owc
@@ -194,7 +211,7 @@ elkirc()
echo "Building elkirc..."
cd $TOPDIR/extapps
if [ ! -d elkirc ] ; then
- git clone -b elks https://github.com/ghaerr/elkirc
+ git clone https://github.com/sepen/elkirc
fi
cd elkirc
git pull
@@ -292,6 +309,7 @@ elksmoria()
make_all()
{
microwindows
+ dcc
dflat
elkirc
if [ -n "$WATCOM" ] ; then
diff --git a/elkscmd/ExtApplications b/elkscmd/ExtApplications
index cf74a5dc..1489fb28 100644
--- a/elkscmd/ExtApplications
+++ b/elkscmd/ExtApplications
@@ -55,7 +55,7 @@ elkirc/man/elkirc.1 ::lib/man1/elkirc.1 :elkirc :2880k
elksdoom/elksdoom ::bin/doom :elksdoom
elksdoom/elksdoom.wad ::lib/elksdoom.wad :elksdoom
ngircd-elks/ngircd.os2 ::bin/ngircd :ngircd
-ngircd-elks/ngircd.conf ::etc/ngircd.cnf :ngircd
+ngircd-elks/ngircd.cnf ::etc/ngircd.cnf :ngircd
elks-viewer/jpgview :elksviewer
elks-viewer/ppmview :elksviewer
elks-viewer/bmpview :elksviewer
@@ -72,7 +72,7 @@ elksmoria/elks/morifile/newselks ::lib/moria/newselks :elksmoria
elksmoria/elks/morifile/origcmds ::lib/moria/origcmds :elksmoria
elksmoria/elks/morifile/roglcmds ::lib/moria/roglcmds :elksmoria
# C86 devkit and header files
-8086-toolchain/elks-bin/make :1440k
+#8086-toolchain/elks-bin/make :1440k
8086-toolchain/elks-bin/make ::usr/bin/make
8086-toolchain/elks-bin/cpp ::usr/bin
8086-toolchain/elks-bin/c86 ::usr/bin