Code Monkey home page Code Monkey logo

Comments (20)

devernay avatar devernay commented on July 20, 2024

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.

gghose avatar gghose commented on July 20, 2024

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

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.

devernay avatar devernay commented on July 20, 2024

I commited a fix that works for me.

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.

gghose avatar gghose commented on July 20, 2024

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

from xcodelegacy.

rsfinn avatar rsfinn commented on July 20, 2024

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.

devernay avatar devernay commented on July 20, 2024

oops, will fix

from xcodelegacy.

gghose avatar gghose commented on July 20, 2024

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

Thanks @rsfinn
there you go https://github.com/devernay/xcodelegacy/releases/tag/v2.0rc2

from xcodelegacy.

gghose avatar gghose commented on July 20, 2024

from xcodelegacy.

gghose avatar gghose commented on July 20, 2024

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

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.

devernay avatar devernay commented on July 20, 2024

(with the same size of course - 5th column in the results)

from xcodelegacy.

gghose avatar gghose commented on July 20, 2024

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

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.

gghose avatar gghose commented on July 20, 2024

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

@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.

rsfinn avatar rsfinn commented on July 20, 2024

Yes, just double-checked and the single-OS options (e.g. -osx1011) appear to be working fine. Thanks.

from xcodelegacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.