help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie - Can't compile and run C program


From: taariqq
Subject: Re: Newbie - Can't compile and run C program
Date: Sun, 18 Mar 2012 15:05:36 -0700 (PDT)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]