MyGit

not-kennethreitz/osx-gcc-installer

Fork: 233 Star: 3047 (更新于 2024-11-16 01:54:36)

license: 暂无

Language: Python .

GCC Installer for OSX! Without Xcode!

最后发布版本: v0.3 ( 2015-03-22 01:13:24)

官方网址 GitHub网址

OSX GCC Installer

The osx-gcc-installer allows you to install the essential compilers from either pre-built binary packages or helps you create your own installer.

For Lion and above users, Apple now provides an official Command Line Tools for Xcode package that you can install without needing to install Xcode itself! You can install it with xcode-select --install on Mavericks and Yosemite or download it from Apple's developer site <https://developer.apple.com/downloads/>_ (free registration required) and search for "Command Line Tools" on Lion and Mountain Lion.

If you still need gcc-4.2, and you use Homebrew, you can install it using the apple-gcc42 package from homebrew/dupes.

Option 1: Downloading Pre-Built Binaries

You can download the installers on the Releases page <https://github.com/kennethreitz/osx-gcc-installer/releases>_ or use the links below:

  • OS X 10.7 Lion: GCC-10.7-v0.3.pkg <https://github.com/kennethreitz/osx-gcc-installer/releases/download/v0.3/GCC-10.7-v0.3.zip>_
  • OS X 10.6 Snow Leopard: GCC-10.6-v0.3.pkg <https://github.com/kennethreitz/osx-gcc-installer/releases/download/v0.3/GCC-10.6-v0.3.zip>_

Option 2: Build Your Own

To create your own package, place the Xcode Installer for your OS version (Install Xcode.app) in the root directory of the repository, and edit the packages_list.txt file to include the packages you want. Then run the build.py script::

    python build.py

it will produce a build_essentials.pkg file by default, containing all the desired packages. For example, if you want to include all the default packages but want to add the 10.6 SDK, the file would look as follows::

    DevSDK.pkg
    DeveloperToolsCLI.pkg
    MacOSX10.6.pkg
    clang.pkg
    llvm-gcc4.2.pkg
    gcc4.2.pkg

What's Included?

  • GCC
  • LLVM
  • Clang
  • Developer CLI Tools (purge, etc)
  • DevSDK (headers, etc)

References

The source code from Apple for these packages is available here:

Troubleshooting

Do not install this if you already have Xcode installed! Mixing Xcode and osx-gcc-installer is known to cause various difficult-to-diagnose problems and is not recommended.

If you intend to only use command line tools you should first uninstall Xcode entirely before installing osx-gcc-installer.

最近版本更新:(数据更新于 2024-10-14 04:50:03)

2015-03-22 01:13:24 v0.3

主题(topics):

compilers, gcc, installers

not-kennethreitz/osx-gcc-installer同语言 Python最近更新仓库

2024-11-23 07:15:18 comfyanonymous/ComfyUI

2024-11-23 02:05:08 hect0x7/JMComic-Crawler-Python

2024-11-22 19:26:55 ultralytics/ultralytics

2024-11-22 19:09:02 xtekky/gpt4free

2024-11-22 18:58:34 home-assistant/core

2024-11-22 08:12:43 jxxghp/MoviePilot