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: kgold
Subject: Re: Newbie error compiling program
Date: 9 Feb 2004 21:58:01 GMT

GVK <vamsee_k@students.iiit.net> writes:
> 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).'
> > 
> Instead of `make', give your own command there...like `g++ hello.cc'

This is OK as a quick fix.

Once you get past "newbie", you'll want to learn "make".  It's the
best way to automatically build a real program with many classes.



reply via email to

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