Comments (7)
Also, the files i686-apple-darwin10-cpp-4.2.1, i686-apple-darwin10-g++-4.0.1, i686-apple-darwin10-llvm-g++-4.2, i686-apple-darwin10-llvm-gcc-4.2, etc need to create soft link to /usr/local/bin
from xcodelegacy.
can you make a pull request or submit a patch? I have no time to work on it now
from xcodelegacy.
OK, I'll work on it.
from xcodelegacy.
I had this same issue. The underlying cause is that on a fresh installation of El Capitan there is no /usr/local/bin directory, so the soft links cannot be created. Following is a patch that fixes the issue:
*** ./XcodeLegacy/XcodeLegacy.sh 2015-10-07 17:20:31.000000000 -0700
--- ./XcodeLegacyElCapFix/XcodeLegacy.sh 2015-10-12 10:15:30.000000000 -0700
***************
*** 63,68 ****
--- 63,74 ----
# install in Xcode instead, and put links in /usr/local
SANDBOX=1
GCCLINKDIR=/usr/local
+
+ # On fresh installations of OSX 10.11, the /usr/local/bin directory doesn't exist.
+ # Create it if necessary and set typical permissions.
+ if [ ! -d "/usr/local/bin" ]; then
+ mkdir -m 755 "/usr/local/bin"
+ fi
fi
GCCFILES="usr/share/man/man7/fsf-funding.7 usr/share/man/man7/gfdl.7 usr/share/man/man7/gpl.7 usr/share/man/man1/*-4.0.1 usr/share/man/man1/*-4.0.1.1 usr/libexec/gcc/*-apple-darwin10/4.0.1 usr/lib/gcc/*-apple-darwin10/4.0.1 usr/include/gcc/darwin/4.0 usr/bin/*-4.0 usr/bin/*-4.0.1 usr/share/man/man1/*-4.2.1 usr/libexec/gcc/*-apple-darwin10/4.2.1 usr/lib/gcc/*-apple-darwin10/4.2.1 usr/include/gcc/darwin/4.2 usr/bin/*-4.2 usr/bin/*-4.2.1 usr/llvm-gcc-4.2 usr/share/man/man1/llvm-g*.1.gz usr/libexec/gcc/*-apple-darwin10/4.2.1 usr/lib/gcc/*-apple-darwin10/4.2.1 usr/include/gcc/darwin/4.2 usr/bin/*-4.2 usr/bin/*-4.2.1"
from xcodelegacy.
How do I commit it? I do have the access privileges.
from xcodelegacy.
as usual with github: fork, commit in your fork, branch, then do a pull request from your branch
https://help.github.com/articles/using-pull-requests/
or send me the file by email (frederic dot devernay at inria dot fr), but then the commit won't have your name on it!
from xcodelegacy.
fixed by #18
from xcodelegacy.
Related Issues (20)
- Symlink to C compiler (cc) HOT 8
- After installing packages with latest XcodeLegacy, GNU Ada fails to build projects using gprbuild HOT 12
- 10.11 SDK on Xcode 8.3.3: "SDK not found" HOT 5
- Extract 10.12 SDK from Xcode 8.3.3 (to do before release of macOS 10.13/Xcode 9) HOT 13
- Latest 2.1 missing uninstall for 10.12 SDK
- Feedback HOT 2
- Bad Info.plist created for Xcode 10.0 HOT 8
- Compiler + Xcode 10.1 Error HOT 4
- Option to provide the app path HOT 2
- libLTO detect under Xcode 9
- "No value to remove at key path MinimumSDKVersion"
- "ld: warning: bad symbol action" HOT 2
- Unable to extract 10.12SDK from Xcode8.3.3.xip HOT 3
- Can't compile after running xcode legacy (XCode 10 or 11) HOT 1
- Instructions no longer work on macOS 11.1: "mkdir: /Developer: Read-only file system" HOT 4
- Is it possible to add a Xcode 3.2 from 10.6 PPC? HOT 1
- PPC architecture and old SDKs are unavailable in Xcode 12.4 GUI HOT 2
- as and ld Intel-only in ppc and ppc64 libexec? HOT 2
- setting `MACOSX_DEPLOYMENT_TARGET` does it require the sdk?
- Found XCode >= 4.3 ... Error could not find Xcode >= 4.3 in /Applications, cannot install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcodelegacy.