User Activity

  • Modified a comment on discussion Open Discussion on 7-Zip

    How to build on macOS export SDKROOT=`xcrun --sdk macosx --show-sdk-path` export MACOSX_DEPLOYMENT_TARGET=10.9 # require 10.13 tar xvf 7z2107-src.tar.xz cd CPP/7zip/Bundles/Alone2 arm64 make -j -f ../../cmpl_mac_arm64.mak x64 make -j -f ../../cmpl_mac_x64.mak Merge archs lipo -create b/m_arm64/7zz b/m_x64/7zz -output b/7zz see https://github.com/cntrump/build-7Zip

  • Modified a comment on discussion Open Discussion on 7-Zip

    How to build on macOS export SDKROOT=`xcrun --sdk macosx --show-sdk-path` export MACOSX_DEPLOYMENT_TARGET=10.9 # require 10.13 tar xvf 7z2107-src.tar.xz cd CPP/7zip/Bundles/Alone2 arm64 make -j -f ../../cmpl_mac_arm64.mak x64 make -j -f ../../cmpl_mac_x64.mak Merge archs lipo -create b/m_arm64/7zz b/m_x64/7zz -output b/7zz

  • Modified a comment on discussion Open Discussion on 7-Zip

    How to build on macOS export SDKROOT=`xcrun --sdk macosx --show-sdk-path` export MACOSX_DEPLOYMENT_TARGET=10.9 tar xvf 7z2107-src.tar.xz cd CPP/7zip/Bundles/Alone2 arm64 make -j -f ../../cmpl_mac_arm64.mak x64 make -j -f ../../cmpl_mac_x64.mak Merge archs lipo -create b/m_arm64/7zz b/m_x64/7zz -output b/7zz

  • Posted a comment on discussion Open Discussion on 7-Zip

    How to build on macOS export SDKROOT=`xcrun --sdk macosx --show-sdk-path` export MACOSX_DEPLOYMENT_TARGET=10.9 tar xvf 7z2107-src.tar.xz cd CPP/7zip/Bundles/Alone2 arm64 make -j -f ../../cmpl_mac_arm64.mak x64 make -j -f ../../cmpl_mac_x64.mak

  • Posted a comment on discussion Open Discussion on 7-Zip

    You can't, because: ../../../Windows/FileDir.cpp:1009:10: error: 'utimensat' is only available on macOS 10.13 or newer [-Werror,-Wunguarded-availability-new] return utimensat(AT_FDCWD, path, times, flags) == 0; ../../../Windows/FileFind.cpp:1225:13: error: 'fstatat' is only available on macOS 10.10 or newer [-Werror,-Wunguarded-availability] int res = fstatat(dirfd(_dir), de.Name, &st, followLink ? 0 : AT_SYMLINK_NOFOLLOW);

  • Posted a comment on discussion Open Discussion on 7-Zip

    clang has the same issue.

  • Modified a comment on discussion Open Discussion on 7-Zip

    Compiling 7-Zip in macOS. patch 7zip_gcc.mak, remove -Werror sed -i.bak 's/CFLAGS_WARN_WALL = -Wall -Werror -Wextra/CFLAGS_WARN_WALL = -Wall -Wextra/g' ../../7zip_gcc.mak setup clang env export XCTOOLCHAIN_BIN="`xcrun --toolchain com.apple.dt.toolchain.XcodeDefault --find .`" export PATH="${XCTOOLCHAIN_BIN}":$PATH export SDKROOT="`xcrun --sdk macosx --show-sdk-path`" export MACOSX_DEPLOYMENT_TARGET=10.9 build for x64 make -j -f ../../cmpl_mac_x64.mak test output b/m_x64/7zz --help check depends otool...

  • Modified a comment on discussion Open Discussion on 7-Zip

    Compiling 7-Zip in macOS. patch 7zip_gcc.mak sed -i.bak 's/CFLAGS_WARN_WALL = -Wall -Werror -Wextra/CFLAGS_WARN_WALL = -Wall -Wextra/g' ../../7zip_gcc.mak setup clang env export XCTOOLCHAIN_BIN="`xcrun --toolchain com.apple.dt.toolchain.XcodeDefault --find .`" export PATH="${XCTOOLCHAIN_BIN}":$PATH export SDKROOT="`xcrun --sdk macosx --show-sdk-path`" export MACOSX_DEPLOYMENT_TARGET=10.9 build for x64 make -j -f ../../cmpl_mac_x64.mak test output b/m_x64/7zz --help check depends otool -L b/m_x64/7zz...

View All

Personal Data

Username:
cntrump
Joined:
2010-07-09 03:20:52
Web Site:
  1. https://lvv.me

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB