This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: command not found when running from batch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]