From: Joseph Jackson <skoidat@lvcm.com>
To: "Sridhar J (june end)" <sridharj.hyd@cxknetworks.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: gcc
Date: Wed, 26 Jun 2002 00:48:20 -0700 [thread overview]
Message-ID: <3D1971C4.1070809@lvcm.com> (raw)
In-Reply-To: F4D3DB9A18752A4F99FD880ABC5407179D15B5@ccdc-exchg.careercommunity.com
Sridhar J (june end) wrote:
> Hello
>
> When I compile a C program using gcc, I get an a.out file. But when I type
> a.out, the error is "No such command"
>
> How do I execute the file?
>
> Regards
> Sridhar
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
>
Well what kind of file are you tring to compile? most of the time if you are
tring to compile a single source file it will be named program.c to compile it
do this
gcc program.c -o program
it tells gcc to compile program.c and that the output should be called program
which will be the binary version of that file. See how that works out for ya.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2002-06-26 7:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-26 7:33 gcc Sridhar J (june end)
2002-06-26 7:48 ` Joseph Jackson [this message]
2002-06-26 8:07 ` gcc Kilaru Sambaiah
2002-06-26 13:52 ` gcc Elias Athanasopoulos
2002-06-26 12:25 ` gcc Mark Gallagher
2002-06-26 12:34 ` gcc Szekely-Benczedi Endre
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=3D1971C4.1070809@lvcm.com \
--to=skoidat@lvcm.com \
--cc=linux-newbie@vger.kernel.org \
--cc=sridharj.hyd@cxknetworks.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