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

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Thu Nov 17 18:46:00 GMT 2011


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)

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.

The -J was introduced 2008-12-27 in GNU tar, so it is not supported by
Debian Lenny (the previous stable, still widely used), so this can't be
used. --lzma is also relatively recent, it was added 2008-04-14 (still
in GNU tar).

The tar in MacOS-X supports neither -J nor --lzma, so neither is portable.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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



More information about the crossgcc mailing list