unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: taariqq <taariqq@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Newbie - Can't compile and run C program
Date: Sun, 18 Mar 2012 15:05:36 -0700 (PDT)	[thread overview]
Message-ID: <33528131.post@talk.nabble.com> (raw)
In-Reply-To: <20120318215848.B36FB1FE38@saturn.ch.ristopher.com>


Hi Chris,
M-x compile ... brings 'Compile commant:' prompt ... upon typing
gcc hello.c RET ... it says gcc is not recognized as an external or internal
command, operable program or batch file
Compilation exited abnormally



Christopher Schmidt-6 wrote:
> 
> taariqq <taariqq@gmail.com> writes:
> 
>> Peter, I greatly appreciate your taking the time to respond. When I do
>> M-x compile RET hello.c RET the window that opens is not compilation
>> or anything. It is a new instance of emacs that opens up (I have .c
>> files associated with emacs) with the same code for hello.c displayed
>> in it. There seems to be window flashing by just before that, but that
>> is all
> 
> M-x compile RET asks you for the compile command.  For starters, try M-x
> compile RET gcc hello.c RET.
> 
>         Christopher
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Newbie---Can%27t-compile-and-run-C-program-tp33527190p33528131.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




  reply	other threads:[~2012-03-18 22:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-18 18:16 Newbie - Can't compile and run C program taariqq
2012-03-18 20:21 ` Peter Dyballa
2012-03-18 21:11   ` taariqq
2012-03-18 21:57     ` Peter Dyballa
2012-03-18 21:58     ` Christopher Schmidt
2012-03-18 22:05       ` taariqq [this message]
2012-03-18 22:32       ` taariqq
2012-03-18 21:39 ` Lars Ljung
2012-03-18 22:08 ` taariqq

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=33528131.post@talk.nabble.com \
    --to=taariqq@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /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).