Hi, I just installed DJGPP with Rhide as IDE.
When I tried to do a test program, I had an error. The program I did is as follows:
#include <iostream>
int main()
{
using std::cout; // or using namespace std;
cout << "Hello World";
return 0;
}
The code above compiled with 0 errors but when it was creating the .exe file, it throws this error:
Error: c:/djgpp/lib/gcc-lib/djgpp/3.1/libstdcxx.a(c++locale.o): In function 'void std::__convert_to_v<float>(char const*, float&, std::_Ios_Iostate&, int* const&, int)':
c++locale.o(135) Error: undefined reference to '_finite'
Error: collect 2: ld returned 1 exit status
Anyone knows what it means? Thanks