• General Chat
  • Engine: How is binary cross platform export even possible?

Hi @ALL, I am very impressed of Godot (using 3.2 on Win10) and i am mostly impressed by the feature, to just export a binary for Windows, Linux and MacOS which can simply just run on the target Platform. Just out of curiosity, how is this even possible? Has Godot Editor some sort of C/C++ Cross Compiler like Mingw-w64 embedded?

I downloaded the C/C++ source code and read some docs but i don't understand how this works. I am just eager to know and understand how this works ;d

I just found out, Gamemaker or Unreal Engine (not sure if Unity does it to) requires you to have a Windows, Mac or Linux Computer so you can built for any specific Operating system, but Godot just can export a Mac Binary from Windows, or a Linux Binary from Windows. As a Developer, i think this is really exiting and i think this is a outstanding feature which even Unreal doesn't have!

Its because you don't have to compile it, the export templates that you install are already compiled for you. They already include a compiled binary for the runtime that gets copied along side your games files into the target directory.

Hmm, yeah that makes sense ;d Thx