all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kendall Shaw <kshaw@kendallshaw.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Compilation in C and ADA
Date: Sat, 23 Jul 2016 09:23:21 -0700	[thread overview]
Message-ID: <2dfd3076-e48f-da96-69dd-c08e22cad428@kendallshaw.com> (raw)
In-Reply-To: <CAMOzxRce9WgjtOrWy3Oq1Gg-eCO-J6M+eDm4bNMEbJEVNpoCGw@mail.gmail.com>

On 07/19/2016 04:11 AM, Edward Zacharek wrote:

> In order to compile the adb file, I click on tools->compile, and press on
> "enter", and this is the error message that I receive:
> "make -k
> make: *** No targets specified and no makefile found.  Stop.
>
> Compilation exited abnormally with code 2 at Tue Jul 19 14:10:18".

The other answers include this information, but the basic problem is 
that tools->compile isn't meant to be figuring out on it's own how to 
compile the file that is in your buffer.

By default, it is looking for a make file and not finding one. So, it 
says so.

Essentially, first figure out how to build your ada/c files from the 
command line, then figure out how to create a single command that does 
that, then have tools->compile use that command.

Kendall

> As for a C file, this is what I get:
>
> "make -k
> make: *** No targets specified and no makefile found.  Stop.
>
> Compilation exited abnormally with code 2 at Tue Jul 19 14:11:04",
> So I get exactly the same error.
> I think I am doing something wrong.
>
> Can you please help me out?
>
> Best Regards
> Roman Edward Zacharek
>
>




  parent reply	other threads:[~2016-07-23 16:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19 11:11 Compilation in C and ADA Edward Zacharek
2016-07-19 17:36 ` B.V. Raghav
2016-07-20  2:50   ` Francis Belliveau
2016-07-20  4:30     ` B.V. Raghav
2016-07-23 14:22       ` Francis Belliveau
2016-07-23 17:52         ` Dale Snell
     [not found]         ` <mailman.1937.1469296394.26859.help-gnu-emacs@gnu.org>
2016-07-23 20:08           ` Emanuel Berg
     [not found]       ` <mailman.1922.1469283823.26859.help-gnu-emacs@gnu.org>
2016-07-23 15:05         ` Emanuel Berg
2016-07-24  4:20           ` Francis Belliveau
     [not found]           ` <mailman.1955.1469334108.26859.help-gnu-emacs@gnu.org>
2016-07-24 12:48             ` Emanuel Berg
2016-07-23 16:23 ` Kendall Shaw [this message]
     [not found] <mailman.1680.1468936015.26859.help-gnu-emacs@gnu.org>
2016-07-20  3:43 ` Rusi

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=2dfd3076-e48f-da96-69dd-c08e22cad428@kendallshaw.com \
    --to=kshaw@kendallshaw.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.