Eli Zaretskii
eliz****@gnu*****
Wed Apr 18 18:31:05 JST 2018
> From: Ran Shalit <ransh****@gmail*****> > Date: Wed, 18 Apr 2018 12:17:19 +0300 > Cc: MinGW Users List <mingw****@lists*****> > > I use now the package you've pointed to, it extract the tar but > complaining about symbolic links: > ......... > gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi/arm-linux-gnueabi/lib/libgfortran.so.3: > Can't create '\\\\?\\C:\\projects\\spektralink\\install\\libarchive-3.3.1-w32-bin\\bin\\gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi\\arm-linux-gnueabi\\lib\\libgfortran.so.3' > gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi/arm-linux-gnueabi/lib/libitm.so.1: > Can't create '\\\\?\\C:\\projects\\spektralink\\install\\libarchive-3.3.1-w32-bin\\bin\\gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi\\arm-linux-gnueabi\\lib\\libitm.so.1' > gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi/arm-linux-gnueabi/lib/libgomp.so: > Can't create '\\\\?\\C:\\projects\\spektralink\\install\\libarchive-3.3.1-w32-bin\\bin\\gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi\\arm-linux-gnueabi\\lib\\libgomp.so' > gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi/arm-linux-gnueabi/lib/libstdc++.so.6: > Can't create '\\\\?\\C:\\projects\\spektralink\\install\\libarchive-3.3.1-w32-bin\\bin\\gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi\\arm-linux-gnueabi\\lib\\libstdc++.so.6' > gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi/arm-linux-gnueabi/lib/libasan.so: > Can't create '\\\\?\\C:\\projects\\spektralink\\install\\libarchive-3.3.1-w32-bin\\bin\\gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi\\arm-linux-gnueabi\\lib\\libasan.so' > ................. > > Do we need to ignore this ? For each such symlink, copy the original into the destination. That's a bit of a hassle to do manually, if there are a lot of those (there are more than 70 in this tarball), but you could produce a script for doing that by editing the output of "bsdtar -tvf": find lines that say "foo -> bar", then edit them into something like "xcopy bar foo". Then run the script.