delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/31/13:51:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Received: by 10.14.203.8 with SMTP id e8mr112796708eeo.2.1356979874810; Mon, 31 Dec 2012 10:51:14 -0800 (PST)
Message-ID: <50E1DE9F.7010002@gmail.com>
Date: Mon, 31 Dec 2012 19:51:11 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: zzgintaszz AT gmail DOT com, cygwin AT cygwin DOT com
Subject: Re: command not found when running from batch
References: <1356968902288-95132 DOT post AT n5 DOT nabble DOT com> <50E1BE66 DOT 1060604 AT gmail DOT com> <1356975136609-95135 DOT post AT n5 DOT nabble DOT com>
In-Reply-To: <1356975136609-95135.post@n5.nabble.com>
X-IsSubscribed: yes
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

On 12/31/2012 6:32 PM, zgintasz wrote:
> First of all, thanks for reply. I'm compiling my own project with cygwin by
> launching build.sh. If I open cygwin, then locate path and then run
> build.sh, everything works totally fine:
> 1. open cygwin
> 2. cd F:/Projektai/osdev

cygwin way
cd /cygdrive/f/Projektai/osdev

> 3. ./build.sh

> But I'm a bit lazy, so I want to make build process easier - by just
> launching batch file.
> How to make this path correct?
> These files are in F:\cygwin\usr\local\cross\bin.

add /usr/local/cross/bin  to the PATH

in .bash_profile on your home directory

PATH=${PATH}:/usr/local/cross/bin

Regards
Marco

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

- Raw text -


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