This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: command not found when running from batch
- From: marco atzeri <marco dot atzeri at gmail dot com>
- To: zzgintaszz at gmail dot com, cygwin at cygwin dot com
- Date: Mon, 31 Dec 2012 19:51:11 +0100
- Subject: Re: command not found when running from batch
- References: <1356968902288-95132.post@n5.nabble.com> <50E1BE66.1060604@gmail.com> <1356975136609-95135.post@n5.nabble.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