I'm trying to build a set of basic Unix-like utilities for Windows,
using msys and mingw. Things like grep and sed are simple enough, the
configure machinery works perfectly under msys (thanks to everyone
involved for all the hard work in making this such a painless
process!!!) However, I'd like to be able to run some of the old
"textutils" tools as well (things like sort, pr, uniq, tr, md5sum).
But these are now incorporated into "coreutils", which is most
definitely *not* Windows compatibile, because of POSIX utilities like
ln, kill, mknod, etc.
What I'd like to do is to build just those utilities that make sense
on Windows. The following lines in Makefile suggest that selecting
what to build is possible somehow, but I haven't been able to find any
# The user can tweak these lists at configure time.
bin_PROGRAMS = src/[$(EXEEXT) src/base64$(EXEEXT) ...
I tried a simple "make src/tr.exe" but it failed due to lack of alloca
- the build process needs things like that from the lib directory but
again, the whole lib directory can't be built because of POSIX
dependencies. Is it possible to do what I want to do? I've searched
the web for any details of how to control configure, etc, but all of
what I've found tends to either not give any details, defer to the
package documentation, or assume you already know a lot about the
autoconf toolset (which I don't). I even tried reading the configure
script itself, but my brain exploded 4 lines in :-)
Thanks for any help that anyone can offer.