[coldfire-gnu-discuss] Problem with m68k-elf-ar and absolute Cygwin paths

Nathan Sidwell nathan at codesourcery.com
Thu Feb 1 14:27:55 UTC 2007


Anders Ejdeling wrote:
> I am using Sourcery G++ Lite from within the Cygwin shell to build eCos. I have followed the instructions in the Getting Started guide to set the CYGPATH variable.
> 
> Everything works fine except for calling m68k-elf-ar with an absolute path to the target. ar creates a temporary file but fails to rename it to the proper target name.
> 
> $ m68k-elf-ar -r /m68k-elf-ar_test/test.a m68k-elf-ar_test/testobj.o
> c:\IB\gcc\m68k-elf-gcc-4.1-32\bin\m68k-elf-ar.exe: creating /m68k-elf-ar_test/test.a
> c:\IB\gcc\m68k-elf-gcc-4.1-32\bin\m68k-elf-ar.exe: unable to rename '/m68k-elf-ar_test/test.a' reason: No such file or directory
> 
> Left in the directory 'm68k-elf-ar_test' is test.a (contains only an 8 byte header) and sta11296 (the temporary lib file).
> 
> Absolute paths works fine with m68k-elf-gcc and other Sourcery G++ Lite tools.

Thank you for this bug report.  We are investigating.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan at codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the coldfire-gnu-discuss mailing list