Add Command Line App template option and show command prompt on Run
Currently running a command line app wil execute it in the background without opening a command line prompt. Allow App Type of 'Command line app' to be selected and saved in pld. Then for these projects, on Run, open a command prompt and execute the command (stay open on completion until re-running).
Also ensure libstdc++.so is selected and linked by default for such apps (they will inevitably use iostream and so need this library>
libstdc++.so should not be linked explicitly. Instead do your linking by running g++ rather than gcc or ld. It will take care of linking the standard C++ libraries.
This saves you some work because on gcc2, you ned to link libstdc++.r4 instead of just libstdc++ (another one of our BeOS compatibility quirks). So let the compiler do the right thing.
Whenever we switch to libc++, this will then be transparent and we will save a lot of time fixing existing projects.
Ah perfect. I think the Paladin compilation code hasn't been updated much in a while. It still uses gcc explicitly IIRC. I'll add that in as another enhancement. Thanks!