mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
lipo: add page (#6306)
This commit is contained in:
parent
3f45cf2683
commit
ff3692c005
1 changed files with 20 additions and 0 deletions
20
pages/osx/lipo.md
Normal file
20
pages/osx/lipo.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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.x86_64}} {{path/to/binary.arm64e}} -create -output {{path/to/binary}}`
|
||||
|
||||
- List all architectures contained in a universal file:
|
||||
|
||||
`lipo {{path/to/binary}} -archs`
|
||||
|
||||
- Display detailed information about a universal file:
|
||||
|
||||
`lipo {{path/to/binary}} -detailed_info`
|
||||
|
||||
- Extract a single-architecture file from a universal file:
|
||||
|
||||
`lipo {{path/to/binary}} -thin {{arm64e}} -output {{path/to/binary.arm64e}}`
|
Loading…
Add table
Reference in a new issue