Comments (4)
OSXCross does not compile natively on Windows, you must use Cygwin instead of MSYS2.
Just follow README.CYGWIN.
I also see that the script try to compile only a shared version, is this a problem later, when I will compile static tools, like ffmpeg?
No, simply configure FFmpeg with --disable-shared --enable-static
,
or use the MacPorts version (osxcross-macports install ffmpeg-devel
).
from osxcross.
Thank you for your answer!
MSYS2 is the new "cygwin" :). When you also work on windows take a look at it, you will love it (it is very actual and the dev team is very active, and it use pacman as a package manager).
But I also understand when you don't want to give support for a other build system. I will see that I found a solution.
from osxcross.
There will be no native Windows port, sorry.
The Apple cctools and linker heavily depend on POSIX functions which are not present on Windows/MSYS2.
Another problem would be symlinks, MSYS2 does not provide proper symlink support (copying files is a joke).
Cygwin is your best bet on Windows if you want to compile for Mac OS X.
from osxcross.
Until now I thought msys2 is almost a cygwin fork. It also has POSIX functions.
But when you say it doesn't work at all under msys2, I believe you - then I try cygwin, or I change to Linux.
from osxcross.
Related Issues (20)
- 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
- Unpacking XCode CLI Tools 14.2 fails HOT 1
- Building compiler-rt with `build_compiler_rt.sh` fails
- "mv: cannot stat" error on extracting macOS SDK HOT 1
- Using gcc assembler HOT 2
- GCC Built by ./build_gcc.sh o32-gcc and o32-g++ only target x86_64 HOT 1
- Can't pass -Wl,--allow-multiple-definition HOT 3
- osxcross-macports infinite loops when installing install curl-ca-bundle HOT 5
- 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
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.