tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.85k stars 320 forks source link

Question. Cross Compiling on ubuntu to macos. #275

Open rdcm opened 3 years ago

rdcm commented 3 years ago

Hi!

I'm very new for build native C/C++ sources but i have little part for my C# lib written in C and need automate build process. I want use osxcross for cross compiling dylib on ubuntu build agent.

After reading readme file I little bit confused, could you describe minimum setup for my goal?

Includes used in my lib:

    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <sys/select.h>
    #include <unistd.h>

Thanks