Comments (7)
Hi,
I think there are some relevant parts missing in your log, because I can't find an error.
Please post the whole log. A simply way on Ubuntu would be:
$ sudo apt-get install pastebinit
$ SDK_VERSION=10.10 OCDEBUG=1 ./build.sh &>build.log
[press enter once to start building - even though you don't see any output]
$ pastebinit -i build.log
from osxcross.
Hi ,
Thanks for your response , please find the whole build log at following link -
http://paste.ubuntu.com/9504001/
Thank you
from osxcross.
What does clang --version
print?
I think you are using a pre-release clang/llvm version from http://llvm.org/apt, right?
They are known to be broken and to have horrible bugs.
Try clang-3.4:
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
add symlinks after installing:
sudo ln -sf `which clang-3.4` /usr/bin/clang
sudo ln -sf `which clang++-3.4` /usr/bin/clang++
from osxcross.
Hi ,
You are right i have cland 3.2 installed. Please find the output below -
Ubuntu clang version 3.2-1exp9ubuntu1precise1 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
Thanks,
from osxcross.
Where did you install clang-3.2 from? Precise doesn't have 3.2 in its repos nor does llvm.org/apt.
BTW: I am able to build cctools and ld64 with clang-3.2, but I have built my clang 3.2 from the vanilla sources.
I have no clue what the debian/ubuntu maintainer is doing there, but at least 50% of his llvm/clang packages have horrible bugs.
However, try clang-3.4 like described before.
from osxcross.
Hi ,
Thank you , You were right it was not compiling due to wrong version of clang. I might have installed it from somewhere .
Thanks & Regards,
Vineet Pant
from osxcross.
You are welcome.
from osxcross.
Related Issues (20)
- gen_sdk_package_tools_dmg.sh non-zero exit code: 1 with Xcode 14 HOT 1
- ./build_clang.sh - fails in build_stage2
- Cannot execute binary file on Apple M1 HOT 10
- warning: cannot find clang intrinsic headers; please report this issue to the OSXCross project HOT 2
- Can't build osxcross under WSL
- OSXCROSS_HOST is used instead of OSXCROSS_TARGET in the CMake toolchain file HOT 1
- static build
- osx how to fix ./gen_sdk_package.sh: line 55: $2: ambiguous redirect tar: Write error HOT 1
- macports GTK4 HOT 1
- build_clang.sh cannot find source tarballs and fails HOT 4
- gcc and __API_AVAILABLE
- ranlib can't rename file => fixed HOT 1
- unable to use LTO with static library HOT 1
- No 32 bit binaries being built HOT 2
- Arm64e (more a question than an issue) HOT 1
- Your manual isn't clear... HOT 2
- Minor Documentation Edit -- Tarball doc misses a few packages HOT 1
- Not an issue: osxcross can also be used to cross-compile to macOS using Visual Studio and WSL
- Allow building MacPorts packages.
- gen_sdk_package error in xcode14 HOT 6
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 osxcross.