Comments (9)
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.
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.
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.
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.
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.
Related: #27
from polly.
@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.
@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.
Closing inactive discussion.
from polly.
Related Issues (20)
- mingw cross compilation from Linux to Windows HOT 9
- CHECK_TYPE_SIZE iOS error HOT 4
- Clang Compiler Test Failing For iOS-10-3-armv7.cmake At Master Commit 3e3f903 HOT 21
- SwiftModule and -Swift.h ObjC compatibility header not copied to framework HOT 7
- xcode8 ios automatic provisioning HOT 1
- Additional C flags required for static-std.cmake to fix behaviour change in CMake HOT 1
- Problem codesigning iOS 11.2 with Xcode 9.2 (9C40b) HOT 5
- build details (active)
- reason for clearing IPHONEOS_DEPLOYMENT_TARGET HOT 4
- How to start for iOS? HOT 4
- --framework fails on codesign for multiple iPhone Developer certificate HOT 3
- ANDROID_NDK_rXX not set HOT 4
- Build failure on latest XCode (10A255) HOT 6
- add support for qnx HOT 2
- colorized ouput HOT 5
- Possible issue with NoCodeSign.xcconfig HOT 11
- "/usr/bin/ld: cannot find -lc++" when using the clang-lto toolchain file HOT 2
- How to reduce Xcodebuild log size? HOT 4
- Add support for Apple's Project Catalyst HOT 2
- Problem with CPack HOT 3
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 polly.