This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
arm gcc on cygwin
- To: qiao guopei <qiaogp at krdl dot org dot sg>
- Subject: arm gcc on cygwin
- From: David Starks-Browning <starksb at ebi dot ac dot uk>
- Date: Fri, 3 Aug 2001 09:25:24 +0100
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- 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/