all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "youKnowme" <phoenix@home.net>
Subject: Re: Newbie error compiling program
Date: Sat, 7 Feb 2004 17:46:16 -0000	[thread overview]
Message-ID: <Iv9Vb.5171$P32.1958@news-binary.blueyonder.co.uk> (raw)
In-Reply-To: c036hl$90m$1@news.wplus.net


"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	other threads:[~2004-02-07 17:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07 17:08 Newbie error compiling program youKnowme
2004-02-07 17:10 ` GVK
2004-02-07 17:46   ` youKnowme [this message]
2004-02-08 13:28     ` Kai Grossjohann
2004-02-09 21:55       ` kgold
2004-02-12 13:56         ` Kai Grossjohann
2004-02-09 21:58   ` kgold
2004-02-09 19:11 ` Kevin Rodgers

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

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

  git send-email \
    --in-reply-to='Iv9Vb.5171$P32.1958@news-binary.blueyonder.co.uk' \
    --to=phoenix@home.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.