delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/30/18:20:13

From: Eduardo M Kalinowski <ekalin AT iname DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can I "alias" gxx with g++ in DOS/DJGPP?
Date: Mon, 30 Aug 1999 11:19:23 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 24
Message-ID: <7qdpbk$gij$1@nnrp1.deja.com>
References: <37ca3358 DOT 4780950 AT netnews DOT worldnet DOT att DOT net>
NNTP-Posting-Host: 200.219.150.48
X-Article-Creation-Date: Mon Aug 30 11:19:23 1999 GMT
X-Http-User-Agent: Mozilla/4.5 [en] (X11; U; Linux 2.2.1 i586)
X-Http-Proxy: 1.0 t-rex.sul.com.br:3128 (Squid/2.2.STABLE4), 1.0 x35.deja.com:80 (Squid/1.1.22) for client 200.219.150.134, 200.219.150.48
X-MyDeja-Info: XMYDJUIDekalin
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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".

--
Eduardo M Kalinowski
mailto:ekalin AT iname DOT com
http://move.to/hp48g
ICQ 10944368


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


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