[Top][All Lists]

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

Re: Newbie error compiling program

From: Kevin Rodgers
Subject: Re: Newbie error compiling program
Date: Mon, 09 Feb 2004 12:11:19 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

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.?

At the "Compile command: make -k " prompt, type the name of the executable

(e.g. hello_world) before RET.  The make program should have a default rule
for building it from the C++ source file extension.

Kevin Rodgers

reply via email to

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