This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
compiling error
- From: "Alexandru Cardaniuc" <kodea at mail dot ru>
- To: gcc-help at gcc dot gnu dot org
- Cc:
- Date: Wed, 17 Apr 2002 21:10:20 +0400
- Subject: compiling error
- Reply-to: "Alexandru Cardaniuc" <kodea at mail dot ru>
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!