This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Running arm compiler on XP/Cygwin system
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 12 Jul 2009 20:39:42 -0400
- Subject: Re: Running arm compiler on XP/Cygwin system
- References: <4A58F75C.8080405@jadsystems.com>
- Reply-to: 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