[Mingw-users] Extract tar in windows ?

Zurück zum Archiv-Index

Ran Shalit ransh****@gmail*****
Wed Apr 18 17:22:07 JST 2018


On Wed, Apr 18, 2018 at 11:15 AM, Eli Zaretskii <eliz****@gnu*****> wrote:
>> From: Ran Shalit <ransh****@gmail*****>
>> Date: Wed, 18 Apr 2018 11:07:30 +0300
>>
>> >   https://sourceforge.net/projects/ezwinports/files/libarchive-3.3.1-w32-bin.zip/download
>> >
>>
>>
>> I tried it not but it seems to fail as following:
>>
>> C:\Program Files (x86)\GnuWin32\bin>bsdtar.exe -x
>> c:\linaro\gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
>> bsdtar.exe: Error opening archive: Failed to open '\\.\TAPE0': No such
>> file or directory
>
> Hint: the package comes with documentation, which is meant to be
> read...
>
> Anyway, you need an explicit -f switch, as with any 'tar' work-alike:
>
>   bsdtar -xf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz

Right,
I actually found it and tried that but it fails as following:

C:\Program Files (x86)\GnuWin32\bin>bsdtar -xf
gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi.tar.xz
bsdtar: Unrecognized archive format: Illegal byte sequence
bsdtar: Error exit delayed from previous errors.

I searched again in
https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabi/
but I see that all formats are xz. ( I think that I need mingw file
becuase it is for windows, if I'm correct, so I choose to extract
gcc-linaro-6.2.1-2016.11-i686-mingw32_arm-linux-gnueabi.tar.xz )

Thanks,
ranran




More information about the MinGW-Users mailing list
Zurück zum Archiv-Index