On Tue, Mar 29, 2016 at 1:04 AM, <[email protected]> wrote: > > 2) As far as I know, tar on NetBSD is the normal BSD tar and gtar is the > GNU tar. While it's the other way around on linux: tar is the GNU tar and > the BSD tar is called bsdtar:) That's why I rather changed the call from > tar to gtar (instead of looking for an option that is similar to the one > that was unaccepted by BSD tar) in order to retain the GNU tar behaviour. >
Note that Mac OS X also comes with BSD tar as 'tar' but doesn't provide GNU tar, so there's no 'gtar' available there. However it might be extended with an option that isn't in the NetBSD version... probably the '--strip' option? Might be best to do a check for 'gtar' and use that if present, but fall back to 'tar' if it's not; that should work pretty reliably across BSD and GNU/Linux variants. -- brion -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
