
/./myWindows/myGetTickCount.cppĬ++ -m64 -O -DENV_MACOSX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -I././C -o my_86_filter my_86_filter.o -framework CoreFoundationħ-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov p7zip Version 9.20 (locale=utf8,Utf16=on,HugeFiles=on,4 CPUs) Library/Developer/CommandLineTools/usr/bin/make -C CPP/7zip/Bundles/Alone allĬ++ -m64 -O -DENV_MACOSX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -c -I. If you do not have the command line developer tools or Xcode installed you will be prompted when running make. Make a backup of makefile.machine prior to overwriting: cp makefile.machine Ĭopy the makefile.macosx_64bits file over makefile.machine: cp makefile.macosx_64bits makefile.machine This puts the correct variables in place to recompile for the specified OS.

Per the README included with the source package (downloaded in step above), “According to your OS, copy makefile.linux, eebsd, makefile.cygwin, … over makefile.machine”.

Below are the steps I used to install p7zip on OS X (10.9 and 10.10 used with this process).ĭownload and extract the p7zip source “p7zip_9.20.1_src_2” to a known location from: p7zip is a port of 7za.exe, the command line version of 7-Zip, for Unix, Linux, and Mac OS X. After some research and testing I settled on p7zip. After reviewing various apps that support the 7z format, I found that most do not offer CLI access.

I recently had a need to have shell/command line (CLI) support for the 7z file format on OS X to allow for some scripting.
