Coder Social home page Coder Social logo

Build under msys2 about osxcross HOT 4 CLOSED

tpoechtrager avatar tpoechtrager commented on July 22, 2024
Build under msys2

from osxcross.

Comments (4)

tpoechtrager avatar tpoechtrager commented on July 22, 2024

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.

jb-alvarado avatar jb-alvarado commented on July 22, 2024

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.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

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.

jb-alvarado avatar jb-alvarado commented on July 22, 2024

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)

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.