X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A2290CC.8000004@gmail.com>
Date: Sun, 31 May 2009 15:14:36 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Win2k Command Window Can't Execute G++
References: <loom.20090531T045341-42@post.gmane.org> 	 <4A221A61.2050207@cygwin.com> 	 <17393e3e0905310011i3b6bd318ud323d64a9fe3581b@mail.gmail.com> 	 <loom.20090531T074353-357@post.gmane.org> <416096c60905310156n523dd947xfb73bdd6acfac83f@mail.gmail.com>
In-Reply-To: <416096c60905310156n523dd947xfb73bdd6acfac83f@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Andy Koppe wrote:

>> I'm sure that I can come up with a hack that will let me do what I want
> 
> The easiest thing to do would be to overwrite the link with the file
> it points to, e.g. 'cp /bin/g++-4.exe /bin/g++.exe'. You'd have to
> remember to do that after every gcc update though.

  How about just typing "g++-4" (or "g++-3") instead of "g++" when trying to
invoke the compiler from a DOS shell?

    cheers,
      DaveK


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

