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

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

Re: Newbie error compiling program


From: youKnowme
Subject: Re: Newbie error compiling program
Date: Sat, 7 Feb 2004 17:46:16 -0000

"GVK" <vamsee_k@students.iiit.net> wrote in message
news:c036hl$90m$1@news.wplus.net...
> youKnowme wrote:
> > I am using emacs to compile a simple 'hello world' program in c++ mode.
> >
> > When I type the command to compile the source file I get this error
message:
> >
> > 'cd ~/
> > make -k
> > make *** no input targets specified and no makefile found. Stop.
> > compilation exited abnormally with code 2 at (time / date).'
> >
> > Can anyone tell me how to fix this problem please.?
> >
> > Thanks in advance.
> >
> >
> >
> Instead of `make', give your own command there...like `g++ hello.cc'
>
> GVK
>
> -- 
> Happy Hacking!!!
>

Thank you, this fixed the problem. I have another related question. How do i
get emacs to know that a program that i want to execute is in my current
directory? At the moment, I have to keep typing ./ before the executable
name. How can I set it up to do this automatically?

Thanks.




reply via email to

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