www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/12/20:45:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A5A824E.20400@cygwin.com>
Date: Sun, 12 Jul 2009 20:39:42 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Running arm compiler on XP/Cygwin system
References: <4A58F75C DOT 8080405 AT jadsystems DOT com>
In-Reply-To: <4A58F75C.8080405@jadsystems.com>
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

Jim Deas wrote:
> I am have a problem I think with path statements. I was able to install 
> cygwin and recompile a complete set of arm tools using the new cygwin libs.
> Now my makefiles run in a cygwin window but fail in Windows CMD line and 
> Eclipse.
> 
> The make file below is very simple and works in a cygwin window. In a 
> dos window the gcc command just returns after doing nothing. In Eclipse 
> it returns error 1.
> The first item, srt.s appear to correctly compile both in dos and cygwin 
> yet fails somehow on the first gcc compile
> 
> 'arm-elf-gcc -I./ -c -fno-common -O3 -g main.c'
> 
> To complicate things even more, in dos arm-elf-gcc can be found and 
> executed returning 'no input files' so I know the path to the executable 
> is working

But others are apparently not.  If a Cygwin app cannot load a DLL, it
returns an error code (53).  You can see this from within 'bash' by
typing 'echo $?' after a command that seems to have not run.  Running
'cygcheck arm-elf-gcc' should help you determine which DLL is missing DLL
when in CMD or Eclipse. But this all really points to that you're still
missing some path, since the DLL is found just fine within the Cygwin
environment.  So a closer inspection of your paths in the two environments
may be an easier way to find out what's missing from Windows.  Presumably,
it's just 'c:\Cygwin\bin'?

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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