Comments (20)
hope we find a solution similar to #27
can you try to add a User-Defined build setting LD_LTO_OBJECT_FILE
in your Xcode project with an empty value?
I found this option by looking at /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/Ld.xcspec
from xcodelegacy.
from xcodelegacy.
I get this too, but only when linking for i386, not for ppc, with the Accelerate framework targetting 10.5 (10.6 is ok it seems).
I guess we will have to get an older ld for i386 too, as we're doing for ppc, see the contents of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
from xcodelegacy.
I commited a fix that works for me.
- Get the latest version https://github.com/devernay/xcodelegacy/releases/tag/v2.0rc1
- uninstall/reinstall the compilers
sudo ./XcodeLegacy.sh -compilers uninstall
sudo ./XcodeLegacy.sh -compilers install
- tell me if it works for you now
if yes, I'll make a 2.0 release
from xcodelegacy.
from xcodelegacy.
from xcodelegacy.
The 2.0rc1 fix prevents the option flags from being used (apparently because the if [ $# != 1 ]
check got moved above the place where the option flag is processed).
from xcodelegacy.
oops, will fix
from xcodelegacy.
from xcodelegacy.
Thanks @rsfinn
there you go https://github.com/devernay/xcodelegacy/releases/tag/v2.0rc2
from xcodelegacy.
from xcodelegacy.
from xcodelegacy.
did you uninstall and reinstall the compilers?
check that these exist:
$ ls -la /Applications/Xcode.app/Contents/Developer/usr/libexec/gcc/darwin/i386/ld
-rwxr-xr-x 3 root wheel 4973120 15 jan 17:02 /Applications/Xcode.app/Contents/Developer/usr/libexec/gcc/darwin/i386/ld
$ ls -la /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-rwxr-xr-x 1 root wheel 2123 15 jan 17:02 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
from xcodelegacy.
(with the same size of course - 5th column in the results)
from xcodelegacy.
from xcodelegacy.
from xcodelegacy.
ok, I implemented a solution that does everything, no need to set custom Xcode settings, except perhaps "Implicitly Link Objective-C Runtime Support" if you get an error (see readme)
can you try it and give feedback, please?
from xcodelegacy.
from xcodelegacy.
@rsfinn can you check that it works fine for you too before I do the 2.0 release?
@siriuscn @ddobrev @mrpippy @misfitius @zhoub @sstillwell @dfroger @ling32945 @DominusExult @EricFromCanada @nbeadman @Gnimuc @DrLou @olance @inspector-g @raxoft @nickwww @mattygroves @raxoft you are welcome to test too
from xcodelegacy.
Yes, just double-checked and the single-OS options (e.g. -osx1011) appear to be working fine. Thanks.
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.