public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "VSong" <Song@SelkirkFinancial.com>
To: cygwin@cygwin.com
Subject: Re: problem with runningsimple C program
Date: Thu, 26 Jun 2003 04:34:00 -0000	[thread overview]
Message-ID: <bdd0pl$770$1@main.gmane.org> (raw)
In-Reply-To: <3EF9DEB5.1040601@doc.ic.ac.uk>

I tried it and it worked fine for me.

"Milos Puzovic" <mp1102@doc.ic.ac.uk> wrote in message
news:3EF9DEB5.1040601@doc.ic.ac.uk...
> I was trying to run the following simple C code:
>
> void func();
>
> main() {
>    func();
>    }
>
> void func() { printf("Hello world from func()!"); }
>
> First, I compiled it with gcc program.c -o program. Then I tried to run
> it, but I got "Segmentation fault (core dumped)" message.
>
> The version of gcc is 3.2 20020927 (prerelease).
>
> Best wishes,
> Milos.
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

      parent reply	other threads:[~2003-06-25 21:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-25 21:40 Milos Puzovic
2003-06-25 21:42 ` Hannu E K Nevalainen (garbage mail)
2003-06-25 21:45 ` Max Bowsher
2003-06-26  0:57   ` Milos Puzovic
2003-06-26  4:34 ` VSong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bdd0pl$770$1@main.gmane.org' \
    --to=song@selkirkfinancial.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).