Giter Club home page Giter Club logo

Comments (9)

ruslo avatar ruslo commented on May 25, 2024

Not sure I understand the question. There are already libcxx and clang-libstdcxx toolchains.

you can cross compile

What kind of cross-compiling we are talking about?

from polly.

xsacha avatar xsacha commented on May 25, 2024

I would like something similar to compiler/gcc-cross-compiler.cmake but for clang. Just setting a variable for sysroot, etc. It just seems strange there's no toolchain for clang cross compiling.

from polly.

ruslo avatar ruslo commented on May 25, 2024

It just seems strange there's no toolchain for clang cross compiling

Looks like nobody using/need it, see nothing strange about it :)

I would like something similar to compiler/gcc-cross-compiler.cmake but for clang. Just setting a variable for sysroot, etc.

Feel free to add one.

from polly.

headupinclouds avatar headupinclouds commented on May 25, 2024

I was previously interested in building shared libraries for Linux distributions from an OS X host (Apple HW being required for iOS). I'm not sure if that is possible. @xsacha Do you have any thoughts? Here are some high level cross compilation pages I found for reference:

http://clang.llvm.org/docs/CrossCompilation.html
http://llvm.org/docs/HowToCrossCompileLLVM.html

from polly.

ruslo avatar ruslo commented on May 25, 2024

I'm not sure if that is possible

I think I post the question on stackoverflow but looks like I delete it because of no response and no interest in further investigation.

from polly.

headupinclouds avatar headupinclouds commented on May 25, 2024

Related: #27

from polly.

keithdunnett avatar keithdunnett commented on May 25, 2024

@xsacha I'm thinking aloud here, not done it yet, but libfloor has a good assortment of clang-based cross compilers (pitched mostly at GPGPU computing, but it should be possible to add other targets).

New to polly so not sure yet how much work it will (or won't) be to use polly to manage a load of third-party toolchains, it's more musing aloud than clear suggestion at this time, but on the face of it, sounds like what you want could leverage existing work rather than configure it all from scratch.

from polly.

headupinclouds avatar headupinclouds commented on May 25, 2024

@magick777 : 👍 Thanks for the libfloor reference. (I suppose this is slightly off topic for the original post, but I have been looking for something exactly like this.)

from polly.

ruslo avatar ruslo commented on May 25, 2024

Closing inactive discussion.

from polly.

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.