delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/03/04:25:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 3 Aug 2001 09:25:24 +0100
Message-ID: <3838-Fri03Aug2001092525+0100-starksb@ebi.ac.uk>
X-Mailer: 21.1 (patch 12) "Channel Islands" XEmacs Lucid (via feedmail 9-beta-7 I);
VM 6.92 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: qiao guopei <qiaogp AT krdl DOT org DOT sg>
Cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: arm gcc on cygwin
In-Reply-To: <3B6A4EE9.B001006E@krdl.org.sg>
References: <3B6A4EE9 DOT B001006E AT krdl DOT org DOT sg>

On Friday 3 Aug 01, qiao guopei writes:
> When I compile the program using "arm-elf-gcc" cross compile in cygwin
> envrionment, the errors are as follows:
> 
> Assembler messages:
>   for reading.open
> : No such file or directory
> 
> What's the problem?
> There are no errors if I run as follows:
> arm-elf-gcc -S test.c
> arm-elf-as test.s

This may be off-topic for the cygwin list.  But it's very interesting,
because the same thing happens to me using prc-tools, which is a
m68k-palmos target for gcc, under cygwin.

If you compile with 'arm-elf-gcc -v', I'll bet you'll find that
arm-elf-as is called with no arguments.  '/bin/strings as.exe' points
to

	"Can't open %s for reading."

as the real message, which gets munged somehow.

Apologies to the rest of the cygwin list.  I did spend time at
<http://sources.redhat.com/ml/crossgcc/> but nothing looked relevant,
which makes me suspect this is Cygwin-related.  (I don't assert it,
just suspect it. :-)

Regards,
David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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