mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* Make placeholders more compatible with CLIP ones: - https://github.com/command-line-interface-pages/prototypes/pull/32 * Update pages/osx/xsltproc.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages/osx/dd.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
20 lines
630 B
Markdown
20 lines
630 B
Markdown
# lipo
|
|
|
|
> Tool for handling Mach-O Universal Binaries.
|
|
> More information: <https://ss64.com/osx/lipo.html>.
|
|
|
|
- Create a universal file from two single-architecture files:
|
|
|
|
`lipo {{path/to/binary_file.x86_64}} {{path/to/binary_file.arm64e}} -create -output {{path/to/binary_file}}`
|
|
|
|
- List all architectures contained in a universal file:
|
|
|
|
`lipo {{path/to/binary_file}} -archs`
|
|
|
|
- Display detailed information about a universal file:
|
|
|
|
`lipo {{path/to/binary_file}} -detailed_info`
|
|
|
|
- Extract a single-architecture file from a universal file:
|
|
|
|
`lipo {{path/to/binary_file}} -thin {{arm64e}} -output {{path/to/binary_file.arm64e}}`
|