Comments (7)
what is the full name of your sdk file
also what is the full log of the error?
from osxcross.
Thanks for the fast response :-)
I have used the get_sdk_package.sh script. The full name is "MacOSX10.9.sdk.tar.bz2"
from osxcross.
does your output look like this?
don@serebryanya:~/src/osxcross$ SDK_VERSION=10.9 ./build.sh
SDK VERSION set in environment variable: 10.9
verified at tarballs/MacOSX10.9.sdk.tar
Building OSXCross toolchain, Version: 0.5
OS X SDK Version: 10.9, Target: darwin13
Minimum targeted OS X Version: 10.5
Tarball Directory: /home/don/src/osxcross/tarballs
Build Directory: /home/don/src/osxcross/build
Install Directory: /home/don/src/osxcross/target
SDK Install Directory: /home/don/src/osxcross/target/SDK
from osxcross.
Unfortunately not.
found SDK version 10.9...2 at tarballs/MacOSX10.9.sdk.tar.bz2
I modified the following lines:
tmp2=`echo $sdk | sed s/[^0-9.]//g`
tmp3=`echo $tmp2 | sed s/\\\.*$//g`
to
tmp1=`echo $sdk | sed s/bz2//g`
tmp2=`echo $tmp1 | sed s/[^0-9.]//g`
tmp3=`echo $tmp2 | sed s/\\\.*$//g`
That fixed the problem. Thanks again for your help!
from osxcross.
Please show the way you invoke the build.sh
script, there shouldn't be any need to modify it.
from osxcross.
./build.sh
The SDK version auto-detect (sed s/[^0-9.]//g) filters all numbers. The 2 from bz2 is therefore added to the variable aswell. The SDK_VERSION variable is then set to "10.9...2" and the build script fails at the point i stated above.
from osxcross.
Fixed.
from osxcross.
Related Issues (20)
- build_gcc.sh does not install needed prerequisites. HOT 2
- flang support HOT 1
- Add FAQ HOT 3
- error in osxcross build HOT 5
- RFE: macports variants
- stdlib.h missing from xar/lib/linuxattr.c HOT 2
- install_name_tool doesn't adjust ad-hoc code signatures HOT 1
- Error while packaging HOT 3
- Fialed to cross compile apple darwin target HOT 5
- This header is only meant to be used on x86 and x64 architecture HOT 2
- target-cpu
- ld64.lld: error: undefined symbol: __cpu_model HOT 1
- Support for xcrun --show-sdk-platform-version HOT 4
- GCC compilation is not working HOT 1
- support for asahi linux, getting the following error error while loading shared libraries: libicui18n.so.74 HOT 1
- Not working when CMAKE_GENERATOR=Ninja
- Request: Set osxcross-specific compiler path
- cann't build compiler_rt with custom TARGET_DIR
- x86_64-apple-darwin23.3-gcc: error: unrecognized command-line option '-fobjc-link-runtime' HOT 1
- Cannot build using XCode 16.1 HOT 2
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.