This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]