I'd like to rebuild GNU fileutils version 2.1 for DOS from
I spent a lot of time trying to figure out why the build instructions in
The
I suspect they're what was actually used to build the distributed binaries since they seem to have useful build flags and source files, unlike the Makefiles and
What are those files? Are they for something in IBM C Set - are they used by an IDE or some sort of build tool? Are there any tools that run under DOS that can use them?
gnufut21.zip
which is available in various places (that zip file contains both sources and binaries). The source/os2/readme.os2
file describes it as "GNU file utilities for OS/2", but I guess they're family mode executables as they work on DOS too.I spent a lot of time trying to figure out why the build instructions in
source/os2/fileutil.cmd
didn't work for me and hacking makefiles so I could use DJGPP's GNU make + Microsoft C 6 to try to build it (I got a working cat.exe
but not much else so far) but now I see readme.os2
says that's the documentation "for the 1.4 MS-DOS version".The
source/os2/
directory contains lots of *.cs
files like this cat.cs
:
Code:
(-W1 -Za -DSTDC_HEADERS -DUSG -DVERSION=\"2.1\"
src\cat.c
)
setargv.obj
os2\fileutil.def
out\fileutil.lib
out\cat.exe
-AS -LB -S0x8000
I suspect they're what was actually used to build the distributed binaries since they seem to have useful build flags and source files, unlike the Makefiles and
configure
output which have file names that are too long, etc.What are those files? Are they for something in IBM C Set - are they used by an IDE or some sort of build tool? Are there any tools that run under DOS that can use them?