command not found when running from batch

Mon Dec 31 15:48:00 GMT 2012


I'm trying to make building process easier. When I launch cygwin and run script, everything is fine, but I want to launch this script from
batch file. I do this:

@echo off
F:/cygwin/bin/bash --login -c "cd F:/Projektai/osdev && sh"

When I launch it, I get errors *i586-elf-gcc: command not found* and
*i586-elf-ld: command not found*. I can't find the solution, how can I fix


View this message in context:
Sent from the cygwin OT chat mailing list archive at

More information about the Cygwin-talk mailing list