This works from the IDE when built in console mode, but the resulting executable doesn’t actually print anything when run from command line.
Oops, that’s an old Ted2 bug – just commited a fix.
Also make sure you select ‘Console’ for apptype the first time you build the app. You can change this setting later using Build Target…Target settings (should probably be called product settings).
Also, I notice the resulting build includes all the d3d, libgl, etc, stuff — are these currently required by all exes?
Nope, only exes that #Import mojo (or gles20 etc).
For console apps, the idea is you only need to #Import “<std>”, although you don’t have to.