delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/05/11/11:30:34

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Newsgroups: comp.os.msdos.djgpp
Subject: Re: soft link
From: m-friedrichs AT hdlresearchlab DOT com
References: <7UQnc.25852$do3 DOT 14340 AT newssvr22 DOT news DOT prodigy DOT com> <8011-Tue11May2004093620+0300-eliz AT gnu DOT org>
X-Newsreader: News Rover 8.2.2 (http://www.NewsRover.com)
Lines: 40
Message-ID: <Jc6oc.7744$5N3.5040@newssvr24.news.prodigy.com>
NNTP-Posting-Host: 65.69.20.73
X-Complaints-To: abuse AT prodigy DOT net
X-Trace: newssvr24.news.prodigy.com 1084288937 ST000 65.69.20.73 (Tue, 11 May 2004 11:22:17 EDT)
NNTP-Posting-Date: Tue, 11 May 2004 11:22:17 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: [[PAPDONXJTERTT^FBJ\OFXBBZ\LPCXLLBWLOOAFBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE AT X\BUC AT GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM AT AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L AT J\\PF]VR[QPJN
Date: Tue, 11 May 2004 15:22:17 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > I have a program called ch professional, which launches from the command
> > line under win2k, and uses djpgg "ln" to create soft links which doesn't
> > work.
>
> DJGPP's `ln' supports _hard_ links (it emulates them by copying), but
> soft links are supported only for executable programs.
>
> > The vendors manual says ln - S is implemented.  But does not work from
> > the
> > win2k command line(dos box).  I sent a support question about this
> > problem
> > to the vendors support line, who suggested, I go to this newsgroup to
> > get an
> > answer.
>
> I don't know what is ch professional, and how and for what purposes it
> uses `ln'.  Can you provide those details?

Ch professional is a Unix type 'c' shell which has implemented a 'c'
interpreter which is ANSI 'c' compliant.  since the source is ANSI 'c'
complaint, it makes for a tool that runs your 'c' source and can easily be
compiled. This is the vendors claim.

Soft links are a utility that allows you to use a folder as a pointer to a
different folder. A nice utility to use.  Unix folders are set as their
"standard goes", but with soft links you can point the standard folders to
some other named folder, even on a different drive.

example:
One of the folders under the root system in unix is /tmp, but I have my tmp
directory setup on a different drive.

So i execute "ln -s g:/win2k/tmp /tmp".  The /tmp folder remains empty, but
a "ls /tmp" list the files in g:/win2k/tmp.  Makes for convenient directory
organization.

> In general, symlinks are not supported on DOS/Windows systems.  Cygwin
> has simulated symlinks, and DJGPP introduces that support in the
> development code; you could get that from the alpha/beta directories
> on the DJGPP site, if you really need that.

- Raw text -


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