delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/31/11:34:09

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 <marco DOT atzeri AT gmail DOT com>
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019