www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/14/13:59:50

Date: Thu, 14 Nov 1996 18:49:04 -0200
Message-Id: <1.5.4.16.19961114163553.29cf43b2@dmeasc.rc.ipt.br>
Mime-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>,
Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
Subject: Re: /ln/mkfifo/mknod
Cc: djgpp AT delorie DOT com

At 13:28 14/11/96 +0200, Eli Zaretskii wrote:
>
>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
>
This is great! IMHO this should go to the FAQ, even being asked only once
'till now!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak                      E-mail: csrabak AT ipt DOT br
DME/ASC                                   Phone: 55-11-268-35221Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax:   55-11-268-5996
Av. Prof. Almeida Prado, 532.  Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019