# AR utility fails with absolute archive path and filename

Bug #1773430 reported by Sid Price on 2018-05-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Undecided
Unassigned

### Bug Description

I am using the GNU ARM toolchain in a Cygwin environment on Windows 10. I find that if the path to the archive file is absolute the utility fails. For example this fails:

arm-none-eabi-ar rcs /home/Sid/projects/blackmagic/libopencm3/lib/libopencm3_stm32f0.a con.o

However this command works:

arm-none-eabi-ar rcs ../../libopencm3_stm32f0.a con.o

Is this a know issue? Is there a work-around (note editing the makefiles to only produce relative paths is not possible without diverging the project from the open source repo).

Sid