command not found when running from batch

marco atzeri marco.atzeri@gmail.com
Mon Dec 31 18:51:00 GMT 2012


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



More information about the Cygwin mailing list