[Mingw-users] Extract tar in windows ?

Back to archive index

Ran Shalit ransh****@gmail*****
Wed Apr 18 18:36:14 JST 2018

On Wed, Apr 18, 2018 at 12:31 PM, Eli Zaretskii <eliz****@gnu*****> wrote:
>> 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.

I understand.
I am just wandering if this is the simplest way to do it.  I mean,
probably I'm not the first to extract  Mingw linaro toolchain in
I don't mind if there is a tool which duplicates these files. (space
is not an issue).

Thanks again,

More information about the MinGW-Users mailing list
Back to archive index