X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20090531T143208-247@post.gmane.org>
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> 	 <4A2290CC.8000004@gmail.com> <loom.20090531T143208-247@post.gmane.org>
Date: Sun, 31 May 2009 19:27:47 +0400
Message-ID: <e2480c70905310827r1ef60a3dxd0193d09500dd637@mail.gmail.com>
Subject: Re: Win2k Command Window Can't Execute G++
From: Alexey Borzenkov <snaury@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Sun, May 31, 2009 at 6:36 PM, Roger Head <rlincolnh@yahoo.com> wrote:
> Ummmm... errrr.... no, no, that's too easy. There must be a harder way to do it.

As an alternative you can try looking into my
http://git.kitsu.ru/mine/shell-wrapper.git (use snapshot link for
topmost commit if you don't have git and don't know how to clone)

Basically, for any command in bin you can create a .exe file in
C:\cygwin\bin-public, which you can later add to your PATH. If will
work for any cygwin executable, because it goes thru a wrapper that
runs the command with cygwin's exec functions. First run make, then
look at makewrappers.cmd for example of how I use it myself.

--
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/

