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.204.143.147 with SMTP id v19mr19250889bku.32.1356971626002; Mon, 31 Dec 2012 08:33:46 -0800 (PST) Message-ID: <50E1BE66.1060604@gmail.com> Date: Mon, 31 Dec 2012 17:33:42 +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: cygwin-talk AT cygwin 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> In-Reply-To: <1356968902288-95132.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 4:48 PM, zgintasz wrote: > Hi, first: you are on the wrong mailing list, use cygwin (at) cygwin (dot) com > > I'm trying to make building process easier. When I launch cygwin and run > build.sh 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 build.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 > it? To build what ? i586-elf-gcc looks a cross compiler, so probably your path is wrong, as it is not a standard cygwin compiler > > Thanks. > 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