GNU bug report logs - #11045
Info required to compile a file. Error is attached here

Previous Next

Package: emacs;

Reported by: Chethan HB <chethanbasavaraj <at> gmail.com>

Date: Tue, 20 Mar 2012 08:16:02 UTC

Severity: normal

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chethan HB <chethanbasavaraj <at> gmail.com>
To: 11045 <at> debbugs.gnu.org
Subject: bug#11045: Info required to compile a file. Error is attached here
Date: Tue, 20 Mar 2012 12:59:22 +0530
[Message part 1 (text/plain, inline)]
Hi,

When I compile a file using compile option which is available in emacs (I
mean tools->compile) error is popped saying,

-*- mode: compilation; default-directory: "~/emacs-23.1/bin/" -*-
Compilation started at Tue Mar 20 12:38:44

make -k
make: *** No targets specified and no makefile found.  Stop.

Compilation exited abnormally with code 2 at Tue Mar 20 12:38:44

Installing info:

C:\emacs\emacs-23.1\bin

I have kept hello.cpp in C:\emacs\emacs-23.1\bin. Also tried keeping
hello.cpp in diff location.

hello.cpp

// Begining to C++

#include <iostream>

using namespace std;
int main()
{
cout<<"Hello world"<<endl;

return 0;
}

What could could be the mistake that I am facing?


-- 
Regards
Chethan HB

"Life is just a moment between a breath and none. Hope I do enough to add
meaning to it."
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.