Mail Archives: djgpp/1998/03/26/20:30:49
I am new in DjGpp and I have faced some problems at the linking of c++
files with RHIDE.
I have installed the necessary packages and tried to work with the RHIDE
after having made the proper settings.
Plain c programs had no problems at all but with c++ I cannot say the
same.The compiling was ok but the linking showed errors.At the following
simple code (for example):
#include<iostream.h>
int main(void)
{
cout << "Testing...";
return 0;
}
RHIDE would execute (in the window):
executing:
gcc -o hello.exe hello.o -lstdcx
...and the error would follow...
Error:
c:/lang/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or directory
(ENOENT)
The paths are correctly set and so is the environment file of rhide.
I understand that there must be an error with the parameters passed to
gcc.
Could anyone help me ,please?
- Raw text -