mirror of
https://github.com/tpoechtrager/osxcross.git
synced 2024-10-03 21:28:33 +03:00
Compare commits
7 Commits
db7a0ec715
...
c37ec76c38
Author | SHA1 | Date | |
---|---|---|---|
|
c37ec76c38 | ||
|
fd32ecc6e0 | ||
|
ed38a713da | ||
|
b8e6ccbaec | ||
|
f740da741c | ||
|
64d99dbb43 | ||
|
90d3f9f248 |
@ -150,7 +150,7 @@ Changed:
|
||||
Added:
|
||||
* binutils / gdb build script
|
||||
* OSXCROSS_GCC_NO_STATIC_RUNTIME option (env)
|
||||
* osxcross-macports: A minimalistic macports packet manager
|
||||
* osxcross-macports: A minimalistic macports package manager
|
||||
|
||||
/******************************* v0.8 *******************************/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
## OSXCROSS-MACPORTS ##
|
||||
|
||||
`osxcross-macports` is a small "packet manager" for 16.000+ binary MacPorts packages.
|
||||
`osxcross-macports` is a small "package manager" for 16.000+ binary MacPorts packages.
|
||||
|
||||
Packages are installed to `target/macports/pkgs`.
|
||||
|
||||
|
@ -44,9 +44,9 @@ Note: The "compiler-rt" library can be needed to link code that uses the
|
||||
Basically everything you can build on macOS with clang/gcc should build with
|
||||
this cross toolchain as well.
|
||||
|
||||
### PACKET MANAGERS ###
|
||||
### PACKAGE MANAGERS ###
|
||||
|
||||
OSXCross comes with a minimalistic MacPorts Packet Manager.
|
||||
OSXCross comes with a minimalistic MacPorts Package Manager.
|
||||
See [README.MACPORTS](README.MACPORTS.md) for more.
|
||||
|
||||
### INSTALLATION: ###
|
||||
|
12
build.sh
12
build.sh
@ -54,6 +54,9 @@ case $SDK_VERSION in
|
||||
13.2*) TARGET=darwin22.3; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.9; ;;
|
||||
13.3*) TARGET=darwin22.4; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.9; ;;
|
||||
14|14.0*) TARGET=darwin23; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
|
||||
14.2*) TARGET=darwin23.3; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
|
||||
14.4*) TARGET=darwin23.5; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
|
||||
14.5*) TARGET=darwin23.6; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
|
||||
*) echo "Unsupported SDK"; exit 1 ;;
|
||||
esac
|
||||
|
||||
@ -101,8 +104,9 @@ if [ "$SDK_VERSION" != "$OLD_SDK_VERSION" ]; then
|
||||
fi
|
||||
|
||||
# XAR
|
||||
|
||||
build_xar
|
||||
if [[ $PLATFORM != Darwin ]]; then
|
||||
build_xar
|
||||
fi
|
||||
|
||||
# XAR END
|
||||
|
||||
@ -137,7 +141,9 @@ if [ $f_res -eq 1 ]; then
|
||||
if [ $NEED_TAPI_SUPPORT -eq 1 ]; then
|
||||
CONFFLAGS+="--with-libtapi=$TARGET_DIR "
|
||||
fi
|
||||
CONFFLAGS+="--with-libxar=$TARGET_DIR "
|
||||
if [[ $PLATFORM != Darwin ]]; then
|
||||
CONFFLAGS+="--with-libxar=$TARGET_DIR "
|
||||
fi
|
||||
[ -n "$DISABLE_CLANG_AS" ] && CONFFLAGS+="--disable-clang-as "
|
||||
[ -n "$DISABLE_LTO_SUPPORT" ] && CONFFLAGS+="--disable-lto-support "
|
||||
./configure $CONFFLAGS
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
##
|
||||
## A minimalistic MacPorts Packet Manager for OSXCross,
|
||||
## A minimalistic MacPorts Package Manager for OSXCross,
|
||||
## based on: https://github.com/maci0/pmmacports.
|
||||
## Please see README.MACPORTS for more.
|
||||
## License: GPLv2.
|
||||
|
@ -50,15 +50,6 @@ if [[ $PLATFORM == CYGWIN* ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $PLATFORM == Darwin ]]; then
|
||||
echo $PATH
|
||||
CFLAGS_OPENSSL="$(pkg-config --cflags openssl)"
|
||||
LDFLAGS_OPENSSL="$(pkg-config --libs-only-L openssl)"
|
||||
export C_INCLUDE_PATH=${CFLAGS_OPENSSL:2}
|
||||
export CPLUS_INCLUDE_PATH=${CFLAGS_OPENSSL:2}
|
||||
export LIBRARY_PATH=${LDFLAGS_OPENSSL:2}
|
||||
fi
|
||||
|
||||
function require()
|
||||
{
|
||||
if ! command -v $1 &>/dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user