This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problem running c++ executables
- From: "Mahesh M." <mahesh_m_1973 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Mar 2002 20:15:02 -0800 (PST)
- Subject: problem running c++ executables
Hello,
I had recently compiled gcc-3.0.4. I am able to
compile simple C++ applications using g++. But I am
unable to execute the compiled code. It gives a
segmentation fault.
The application i used is a simple "Hello World!"
application:
#include <iostream.h>
int main() {
cout << "Hello World!!!" << endl;
return 0;
}
I am able to compile and execute simple C
applications using gcc. The OS I am using is Solaris
2.6 on ultrasparc.
Any suggestions?
thanks in advance,
Mahesh M.
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/