A weird one.
Normally I don't use C++ but figured I would take a stab at it but ran into this perculiar error when linking:
undefined reference to `_exit'
Also _close, _fstat,_isatty,_lseek,_read,_sbrk, etc etc...
All I have to do to a breand new project is add the following:
#include <string> using namespace std;
and in main()
string mystring = "string";
And I get the linker errors about _exit and friends.
I don't need to use things like string so this is more of a curiousity question.
What is going wrong here?