delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/30/23:00:33

Message-ID: <37CACB5D.BFEA7356@unb.ca>
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can I "alias" gxx with g++ in DOS/DJGPP?
References: <37ca3358 DOT 4780950 AT netnews DOT worldnet DOT att DOT net> <7qdpbk$gij$1 AT nnrp1 DOT deja DOT com>
Lines: 31
Date: Mon, 30 Aug 1999 18:42:24 GMT
NNTP-Posting-Host: 198.164.188.76
X-Trace: news21.bellglobal.com 936038544 198.164.188.76 (Mon, 30 Aug 1999 14:42:24 EDT)
NNTP-Posting-Date: Mon, 30 Aug 1999 14:42:24 EDT
Organization: Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eduardo M Kalinowski wrote:

> In article <37ca3358 DOT 4780950 AT netnews DOT worldnet DOT att DOT net>,
>   fakename AT worldnet DOT att DOT net (Joe Student) wrote:
>
> > Is there a way to configure DOS or DJGPP to recognize "g++" in place
> > of "gxx"? Is there something similar to the UNIX command
> > "alias g++ gxx"?
>     You can copy gxx.exe to g++.exe, but this doubles the disk space
> necessary. If you use a good shell (that is, NOT command.com), it might
> have an "alias" feature. (4DOS and bash do). Or you can create a 2k stub
> called g++.exe that runs gxx.exe . If you have the port of GNU
> fileutils, you can use ln -s gxx.exe g++.exe, as you would do in UNIX.
> If not, you can create one anyway, just look at the FAQ for "symbolic
> links".

    Shouldn't it be possible to change the LFN for gxx.exe to g++.exe?  What I
mean is that the 8.3 filename can be set to 'gxx.exe' and the other to
'g++.exe'.  I don't think Win9x comes with a tool to do this, but it shouldn't
be too hard to design (for someone who understands VFAT/FAT32).  Are there any
Win32 api calls to change the short-filename equivalent to a long-filename?

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047




- Raw text -


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