delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/31/10:03:12

X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Win2k Command Window Can't Execute G++
References: <loom DOT 20090531T045341-42 AT post DOT gmane DOT org> <4A221A61 DOT 2050207 AT cygwin DOT com> <17393e3e0905310011i3b6bd318ud323d64a9fe3581b AT mail DOT gmail DOT com> <loom DOT 20090531T074353-357 AT post DOT gmane DOT org> <416096c60905310156n523dd947xfb73bdd6acfac83f AT mail DOT gmail DOT com>
In-Reply-To: <416096c60905310156n523dd947xfb73bdd6acfac83f@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


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