This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0 of 1] using tar with xz and lzma archives


Am 17.11.2011 um 19:46 schrieb Yann E. MORIN:

> Titus, All,
> 
> On Thursday 17 November 2011 15:27:23 Titus von Boxberg wrote:
>> on my machine tar --use-decompress-program does not work.
> 
> What tar is this?
> 
> (Note: this is --use-compress-program, not --use-_de_compress-program)
this is bsdtar 2.6.2 on 10.6 and bsdtar 2.8.3 on 10.7

> 
> GNU tar supports --use-compress-program since at least 2004.
> 
> The tar in MacOS-X does document this option:
> https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/tar.1.html
> 
>> However, -J or --lzma does work.
correction: -J and --lzma only work with bsdtar 2.8.3 on 10.7
tar on 10.6 seems to not understand any of these options.

I assume that
- the man page is not appropriate for the implementation
- the implementation on OSX 10.7 is buggy since it does
  accept the --use-compress-program but fails.

Now, if also Lenny is not really up to date,
I'd say the most compatible way would be 
to (always) use
<compressor> -dc | tar -f -

What do you think?

Regards
Titus


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]