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 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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