Add SDK pkg instructions for 4.2 on Snow Leopard

This commit is contained in:
Andrew Rogers 2023-05-18 11:38:39 -05:00
parent 50e86ebca7
commit 5e9a012c28

View File

@ -176,7 +176,7 @@ use these variants unless you know what you're doing.
The SDKs can be extracted either from full Xcode or from Command Line
Tools for Xcode.
##### Packaging the SDK on macOS (Xcode): #####
##### Packaging the SDK on recent macOS (Xcode): #####
1. [Download Xcode: https://developer.apple.com/download/all/?q=xcode] \*\*
2. [Mount Xcode.dmg (Open With -> DiskImageMounter) \*\*\*]
@ -195,6 +195,15 @@ Tools for Xcode.
Step 1. and 2. can be skipped if you have Xcode installed.
##### Packaging the Xcode 4.2 SDK on Snow Leopard: #####
1. Install a recent version of Bash from MacPorts or Tigerbrew
2. Download Xcode 4.2 for Snow Leopard
3. Mount the disk image with DiskImageMounter or by running
`hdiutil attach <xcode>.dmg`
4. Run: `XCODEDIR=/Volumes/Xcode ./tools/gen_sdk_package.sh`
5. (On Linux/BSD) Copy or move the SDK into the tarballs/ directory of
OSXCross.
##### Packing the SDK on Linux - Method 1 (Xcode > 8.0): #####
This method may require up to 45 GB of free disk space.