compiling error
Alexandru Cardaniuc
kodea@mail.ru
Wed Apr 17 19:45:00 GMT 2002
Hi!
I have just installed djgpp for the first time. I did everything as it was
written in docs.
I create my test program in hello.cpp file:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello, World!\n";
return 0;
}
gpp hello.cpp -o hello.exe
gives many errors like:
c:\djgpp\tmp\RHaaaaaa\ccMpsdvi.s(3411) Error: Error: Too many new sections;
can't add ".gnu.linkonce.t._ZNSaIcED1Ev"
What is wrong? What should I check or configure?
When I change the program in the old-style like:
#include <iostream.h>
int main()
{
cout << "Hello, World!\n";
return 0;
}
Now it is compiled.
Thanks in advance.
Alexandru
----------------------------------------------
Life is beautiful and there is no doubt in it!
More information about the Gcc-help
mailing list