Cross-compiling


#1

hi,

i am curious, what is the preferred way to cross-compile juce applications/plugins from linux? it seems that jucer produces xcode/msvc project files, but using them is not an option for me as i don’t have developer access to these machines.
(but maybe jucer has a cross-compile functionality similar to cmake?)

thanks, tim


#2

There’s no way to cross-compile anything for windows or osx in linux, is there?? To do so would not only require the MS compiler to run in linux, but would need all the win32/OSX headers, libs, frameworks, etc!


#3

One way is to use the linux version on mingw. Here is a wiki page on setting this up.

The other way is to run tdm-gcc under wine: it works nicely, but it’s more tricky to setup.