Mail Archives: djgpp/1996/11/14/06:44:51
On Thu, 14 Nov 1996, Thomas Demmer wrote:
> I grabed the GNU fileutils and found the files
> ln, mkfifo, and mknod. Can somebody enlighten me
> about which particular use this things have under
> DOS?
ln mkfifo and mknod (and also chown and chgrp) are primarily for those
Makefiles and shell scripts which might call them. The ports are made so
that they pretend to be working, but do little actually, sometimes nothing
at all. E.g., "ln foo bar" copies foo to bar, which is functionally the
same, but chgrp doesn't do anything at all, and so is "chmod +x foo".
This way, you don't have to edit Makefiles which come from Unix. For
instance, I've just build Ispell for DJGPP v2, including the dictionaries,
which would be impossible without ln, chmod and other programs.
ln also has one DJGPP-specific goodie: it knows about DJGPP symlinks to
executables. Try this:
ln -s c:/djgpp/bin/grep.exe c:/djgpp/bin/fgrep.exe
- Raw text -