2

I have simple Haxe app like

class Main
{
    public static function main()
    {
        trace("hello world");
    }
}

I know how to compile such app for windows (not as SWF but as app from pure C\C++ )(and you can see how here but be worned thay use hxcpp\0,4 ) The problem is - I do not want to compile app for Windows Vista or 7 or XP I want to get PURE C\C++ code (better in one place as one project) for for example compiling that code on windows mobile or where ever I want to.

So is there any algorithm for turning simple Haxe code into C/C++ code files?

Gama11
  • 31,714
  • 9
  • 78
  • 100
Rella
  • 65,003
  • 109
  • 363
  • 636

1 Answers1

5

AFAICT hxcpp does generate C++ code which uses a platform specific library(Neko). the output is not windows specific.

Groshh
  • 140
  • 1
  • 11
Hasturkun
  • 35,395
  • 6
  • 71
  • 104