I thought I'd revert to a simple program first, in order to get this Windows compiler going. A version of the Hello World! program:
using namespace std;
int main() { cout << "Hello World!" << endl; return 0; }
Compiler errors:
Compiler: Default compiler Executing g++.exe... g++.exe "C:\Users\martin\Progs\temp.cpp" -o "C:\Users\martin\Progs\temp.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" /mingw/lib/crt2.o(.text+0x8): In function _mingw_CRTStartup': ../mingw/crt1.c:193: undefined reference to__dyn_tls_init_callback' /mingw/lib/crt2.o(.text+0x3a):../mingw/crt1.c:207: undefined reference to `__cpu_features_init' collect2: ld returned 1 exit status Execution terminated
_mingw_CRTStartup': ../mingw/crt1.c:193: undefined reference to
Any idea where I go from here?
Log in to post a comment.
I thought I'd revert to a simple program first, in order to get this Windows compiler going. A version of the Hello World! program:
include <iostream></iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
Compiler errors:
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Users\martin\Progs\temp.cpp" -o "C:\Users\martin\Progs\temp.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
/mingw/lib/crt2.o(.text+0x8): In function
_mingw_CRTStartup': ../mingw/crt1.c:193: undefined reference to__dyn_tls_init_callback'/mingw/lib/crt2.o(.text+0x3a):../mingw/crt1.c:207: undefined reference to `__cpu_features_init'
collect2: ld returned 1 exit status Execution terminated
Any idea where I go from here?