cross-compilation - How can I disable the gtk2 subsystem?

Windows specific forum
User avatar
holzhacker
Enthusiast
Enthusiast
Posts: 123
Joined: Mon Mar 08, 2010 9:14 pm
Location: "Mens sana in corpore sano"
Contact:

cross-compilation - How can I disable the gtk2 subsystem?

Post by holzhacker »

I am developing a system in Linux (ubuntu with gnome3 - ubuntu gnome - https://ubuntugnome.org/) and remotely compiling also on windows, but use the GTK2 subsystem in ubuntu development station - ... use fossil (http: //www.fossil-scm.org) to synchronize the codes and then compile ... but the windows complains Subsystem GTK2.

How do I disable GTK2 to build on windows? - I believe it is the command line ... an example?

Thank you all ...
Greetings and thanks!

Romerio Medeiros
romerio@gmail.com
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: cross-compilation - How can I disable the gtk2 subsystem

Post by kenmo »

The best way is to create a Project (if you haven't already) with separate Targets configured for each OS:

- Windows target (default subsystem, .exe output executable, .ico icon)
- Linux target ("gtk2" subsystem, no ".exe", .png (?) icon)


There are also some "tricks" you can use to prevent the Linux target from building on Windows, and vice versa.
Post Reply