Coder Social home page Coder Social logo

Comments (5)

tpoechtrager avatar tpoechtrager commented on July 3, 2024

I think the symlinks in /usr/local are confusing the wrapper, try moving the symlinks to /usr/bin.
Also please note that clang 3.5 in Ubuntu 14.04 is not the final version.

Maybe you want to try the official clang binaries for 14.04: http://llvm.org/releases/3.5.1/clang+llvm-3.5.1-x86_64-linux-gnu.tar.xz instead of that pre-release version.

from osxcross.

 avatar commented on July 3, 2024

Moving the symlinks to /usr/bin did indeed solve the problem. Thanks!

I tried the clang 3.5.1 binaries for Ubuntu 14.04 earlier, but ran into some trouble because they depend on libstdc++.so.6.0.20 and the version on my system (all packages up to date) is libstdc++.so.6.0.19. However, this is not related to OSXCross.

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 3, 2024

No problem.

However, you should really consider upgrading to the release version, because that pre-release is more than 10.000 commits behind.

You can use my clang build script ./build_clang.sh to build clang 3.5 (without weird libstdc++.so.6.0.20 problems).

Just run: INSTALLPREFIX=<prefix> ./build_clang.sh.

from osxcross.

 avatar commented on July 3, 2024

Thanks for the suggestion!

After my initial problems, I found http://llvm.org/apt/ was providing packages for a newer version than the Ubuntu package repository itself. I now have:

clang version 3.5.1-svn225255-1~exp1 (branches/release_35) (based on LLVM 3.5.1)

Would you still advise using ./build_clang.sh to create a custom clang 3.5.1 build? Should I notice any differences?

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 3, 2024

No, not worth it - 3.5.1-svn225255 should be fine.

from osxcross.

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.