Hello all,
I'm very new here at Elks, so please forgive me for asking/stating the
obvious.
I use default installed gcc 9.2.1 from fedora 30 to compile elks.
To compile elks I have to change the build.sh script in the tool
directory (see below).
Elks compiles but the hard drive image file that is generated I somehow
can not run, not using qemu and not using a hard drive (ide compact
flash).
I can't put the floppy image on a real disk at the moment due to a local
shortage of 360kb floppy disks.
Does anyone have any experience installing the HD Image on a compact
flash hard drive? Does anyone know if the '-Wno-error=format-overflow'
breaks the elks kernel of disk image? Any info is welcome.
cheers Marcel Wijlaars
diff -urpN elks-master-orig/tools/build.sh elks-master/tools/build.sh
--- elks-master-orig/tools/build.sh 2019-12-19 17:15:30.000000000 +0100
+++ elks-master/tools/build.sh 2020-01-02 13:12:15.154169173 +0100
@@ -13,4 +13,4 @@ mkdir -p "$DISTDIR"
mkdir -p "$BUILDDIR"
cd "$BUILDDIR"
-make -f "$SRCDIR/Makefile"
+make CFLAGS='-Wno-error=format-overflow' -f "$SRCDIR/Makefile"