From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Compilation in C and ADA
Date: Tue, 19 Jul 2016 20:43:15 -0700 (PDT) [thread overview]
Message-ID: <eaadb88e-f88d-4f82-92b4-44c0e6dca1bd@googlegroups.com> (raw)
In-Reply-To: <mailman.1680.1468936015.26859.help-gnu-emacs@gnu.org>
On Tuesday, July 19, 2016 at 7:16:58 PM UTC+5:30, Edward Zacharek wrote:
> Hello,
>
> I tried to compile two files, one in ADA, the other in C, and both have
> failed.
>
> The ADA file was a simple one, a basic "Hello World" code, which I found
> over here:
> https://gcc.gnu.org/onlinedocs/gnat_ugn/Running-a-Simple-Ada-Program.html
>
> 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".
>
> 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?
This is not really an emacs question -- which is ok in general.
In this case it would be better if you followed the instructions of the link
you gave and run:
gcc -c hello.adb
after the prompt ($) as indicated. ie run it in a shell
Once you do that and it runs making it run in emacs is a small thing
If it doesn’t, solving that has nothing to do with emacs
next parent reply other threads:[~2016-07-20 3:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1680.1468936015.26859.help-gnu-emacs@gnu.org>
2016-07-20 3:43 ` Rusi [this message]
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
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=eaadb88e-f88d-4f82-92b4-44c0e6dca1bd@googlegroups.com \
--to=rustompmody@gmail.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.