Nevermind the help for the below. Had a lil fun finding out, including the fun on how to get man to see the man pages which is where I deduced I was calling the wrong prog for cpp progs, i.e. use g++ instead of gcc ;) However am having fun trying to get arm-wince-mingw32ce-run to work. When I try
arm-wince-mingw32ce-run test.exe I get the following sim: exception: Unhandled Instruction '0x46656c75' at 0xffff0330. Stopping. test.exe is a console prog. In fact the one I asked about earlier. When I try the dialog example in the same maner I get ARMulator can't allocate VM page: Cannot allocate memory Any ideas on this? James ---------- Forwarded Message ---------- Subject: on cpp progs Date: Sunday 10 June 2007 From: James Takac <[EMAIL PROTECTED]> To: cegcc-devel@lists.sourceforge.net Hi Guys Just need a lil help getting the basics of cpp working with cegcc or mingw32ce. If I try and compile a standard cpp prog such as #include <iostream> using namespace std; int main(void) { cout << "test" << endl; } then I try compiling like arm-wince-cegcc-gcc -o test.exe test.cpp I get the following output Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import) /tmp/ccD6oqgJ.o:test.cpp:(.text+0x38): undefined reference to `std::ios_base::Init::Init()' /tmp/ccD6oqgJ.o:test.cpp:(.text+0x5c): undefined reference to `std::ios_base::Init::~Init()' /tmp/ccD6oqgJ.o:test.cpp:(.text+0xc8): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)' /tmp/ccD6oqgJ.o:test.cpp:(.text+0xd8): undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*) (std::basic_ostream<char, std::char_traits<char> >&))' /tmp/ccD6oqgJ.o:test.cpp:(.text+0xe8): undefined reference to `std::cout' /tmp/ccD6oqgJ.o:test.cpp:(.text+0xf0): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)' collect2: ld returned 1 exit status Any ideas as to what I need to do to get it working here? James ------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel