public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problem running c++ executables
@ 2002-03-25 20:15 Mahesh M.
  0 siblings, 0 replies; only message in thread
From: Mahesh M. @ 2002-03-25 20:15 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 666 bytes --]

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-26  4:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-25 20:15 problem running c++ executables Mahesh M.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).