Mail Archives: djgpp/2002/08/04/08:35:40
Andrea Pacquola <a DOT pacquola AT jumpy DOT it> wrote:
: I have installed Rhide 1,4,9 on a system with Windows ME.
: Rhide start using this file, (rhide.bat):
: @echo off
: setPATH=c:\djgpp\bin;%PATH%
^^ Missing space?
: set DJGPP=c:\djgpp\djgpp.env
: chdir c:\djgpp\prog..\bin\rhide.exe
: I have tried the program hello.cpp:
: # include < iostream >
: using namespace std;
: int main ()
: {
: cout << "Hello world!";
: return 0;
: }
: Rhide shows this message:
: Creating: hello.exe 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: collect2: ld returned 1 exit
: status
I think you need to add the math library to the library options and
perhaps the cstd++ librabry as well.
RIght,
MartinS
- Raw text -