I read in a mailing list (not the one of osxcross) that some do not use
> Apple hardware as an European court would consider it a vexatious
> clause, and therefore that software related clause should only be
> applied in the USA.
> Anyway should be always possible legally cross-compile from Linux on
> Apple HW.
>

The gtk-osx-build system itself require macOS to work, but nothing prevents
you from building it on a Mac, then move the whole tree it created (that
with jhbuild you can place for instance in /usr/local/gtkosx ) to another
machine, also linux, provided you use a similar build system and deployment
target, AFAIK osxcross supports libc++, so it should be possible.

You will be able to build macOS binaries that use the GTK quartz backend,
probably you will need to do some changes to the scripts if you want to use
also the gtk-mac-bundler to build an app bundle with the gtk libraries
inside since it depends from command line utils that usually have different
names in not macOS targets.

Anyway since virtualizing macOS is forbidden on non macOS hosts, building
macOS software with CI services (like github actions, travis...) is very
expensive, amazon just introduced an AWS mac mini, but it's more expensive
that an AI instance with a TESLA cad.... I'm not really sure that cross
compiling to mac is a bad thing... also because you are not using the
software itself, but just some supporting files (header and libraries) that
you are allowed to use as developer.

-- 
Bye,
 Gabry
_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Reply via email to