Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.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@ebi.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: qiao guopei <qiaogp@krdl.org.sg>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: arm gcc on cygwin
In-Reply-To: <3B6A4EE9.B001006E@krdl.org.sg>
References: <3B6A4EE9.B001006E@krdl.org.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/

