Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: qiao guopei Cc: "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 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/