comp.lang.ada
 help / color / mirror / Atom feed
* experienced unix guy on freebsd 10.1 vs ada hello world
@ 2015-01-06  4:20 johannes falcone
  2015-01-06  4:51 ` Jeffrey Carter
  2015-01-06  5:04 ` Shark8
  0 siblings, 2 replies; 8+ messages in thread
From: johannes falcone @ 2015-01-06  4:20 UTC (permalink / raw)


guys I used the docs on http://www.getadanow.com/#get_freebsd and a nice gui opened for development, but I am a vi and ed user...

Can't get hello world to compile...

help

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: experienced unix guy on freebsd 10.1 vs ada hello world
  2015-01-06  4:20 experienced unix guy on freebsd 10.1 vs ada hello world johannes falcone
@ 2015-01-06  4:51 ` Jeffrey Carter
  2015-01-07  7:03   ` johannes falcone
  2015-01-06  5:04 ` Shark8
  1 sibling, 1 reply; 8+ messages in thread
From: Jeffrey Carter @ 2015-01-06  4:51 UTC (permalink / raw)


On 01/05/2015 09:20 PM, johannes falcone wrote:
> guys I used the docs on http://www.getadanow.com/#get_freebsd and a nice gui opened for development, but I am a vi and ed user...
> 
> Can't get hello world to compile...

What's the problem? Open a terminal and use vi. Then build from the command line
using gnatmake.

-- 
Jeff Carter
"Blessed is just about anyone with a vested interest in the status quo."
Monty Python's Life of Brian
73

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: experienced unix guy on freebsd 10.1 vs ada hello world
  2015-01-06  4:20 experienced unix guy on freebsd 10.1 vs ada hello world johannes falcone
  2015-01-06  4:51 ` Jeffrey Carter
@ 2015-01-06  5:04 ` Shark8
  2015-01-07  7:04   ` johannes falcone
  1 sibling, 1 reply; 8+ messages in thread
From: Shark8 @ 2015-01-06  5:04 UTC (permalink / raw)


On 05-Jan-15 21:20, johannes falcone wrote:
> guys I used the docs on http://www.getadanow.com/#get_freebsd and a
> nice gui opened for development, but I am a vi and ed user...
>
> Can't get hello world to compile...
>
> help
>

Hm, I'm going to guess that's GPS (GNAT Programming Studio) -- there 
should be a menu item up-top titled "projects". Under that there should 
be an item titled "Edit Project Properties" which should bring up a 
dialog-box with tabs along the side, click the one labeled "Main Files".

On the "Main Files" tab-page, there should be a button with a big 
plus-sign labeled "Add". Click it, a new dialog box should come up 
containing a list w/ associated files, check the file that your "hello 
world" resides in and then click ok.

(At this point you should see your file in the "main files" list-box of 
the tab-page.)^1 Having returned to the tab-page, click ok. -- Now, I 
don't know if you *need* to do it but I have the compulsive habit of 
going to (1) "Project", "Save All"; then (2) "Project", "Reload Project".

Now there should be some Icons up top, one a hammer outline on a box 
(that's the build icon) and a right-pointing "Play" triangle (the run 
icon). -- Click the build icon, if the "messages" pane says something 
like: "[2015-01-05 21:55:58] process terminated successfully, elapsed 
time: 05.50s"^2 you're good to go, just click the "run" button.

1 -- There's a restriction on what can be "main files", a parameterless 
procedure, or a parameterless function returning an integer. (Sorry, I 
can't seem to find the documentation for this; the first form is the 
most used and definitely works.)
2 -- If there's a compile error it should tell you what it is; most of 
the compilers are decent to pretty good, though sometimes you have to 
get used to the Ada terminology.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: experienced unix guy on freebsd 10.1 vs ada hello world
  2015-01-06  4:51 ` Jeffrey Carter
@ 2015-01-07  7:03   ` johannes falcone
  0 siblings, 0 replies; 8+ messages in thread
From: johannes falcone @ 2015-01-07  7:03 UTC (permalink / raw)


On Monday, January 5, 2015 8:51:46 PM UTC-8, Jeffrey Carter wrote:
> On 01/05/2015 09:20 PM, johannes falcone wrote:
> > guys I used the docs on http://www.getadanow.com/#get_freebsd and a nice gui opened for development, but I am a vi and ed user...
> > 
> > Can't get hello world to compile...
> 
> What's the problem? Open a terminal and use vi. Then build from the command line
> using gnatmake.
> 
> -- 
> Jeff Carter
> "Blessed is just about anyone with a vested interest in the status quo."
> Monty Python's Life of Brian
> 73

gnatmake not found


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: experienced unix guy on freebsd 10.1 vs ada hello world
  2015-01-06  5:04 ` Shark8
@ 2015-01-07  7:04   ` johannes falcone
  2015-01-07 10:07     ` Dirk Heinrichs
  0 siblings, 1 reply; 8+ messages in thread
From: johannes falcone @ 2015-01-07  7:04 UTC (permalink / raw)


On Monday, January 5, 2015 9:04:05 PM UTC-8, Shark8 wrote:
> On 05-Jan-15 21:20, johannes falcone wrote:
> > guys I used the docs on http://www.getadanow.com/#get_freebsd and a
> > nice gui opened for development, but I am a vi and ed user...
> >
> > Can't get hello world to compile...
> >
> > help
> >
> 
> Hm, I'm going to guess that's GPS (GNAT Programming Studio) -- there 
> should be a menu item up-top titled "projects". Under that there should 
> be an item titled "Edit Project Properties" which should bring up a 
> dialog-box with tabs along the side, click the one labeled "Main Files".
> 
> On the "Main Files" tab-page, there should be a button with a big 
> plus-sign labeled "Add". Click it, a new dialog box should come up 
> containing a list w/ associated files, check the file that your "hello 
> world" resides in and then click ok.
> 
> (At this point you should see your file in the "main files" list-box of 
> the tab-page.)^1 Having returned to the tab-page, click ok. -- Now, I 
> don't know if you *need* to do it but I have the compulsive habit of 
> going to (1) "Project", "Save All"; then (2) "Project", "Reload Project".
> 
> Now there should be some Icons up top, one a hammer outline on a box 
> (that's the build icon) and a right-pointing "Play" triangle (the run 
> icon). -- Click the build icon, if the "messages" pane says something 
> like: "[2015-01-05 21:55:58] process terminated successfully, elapsed 
> time: 05.50s"^2 you're good to go, just click the "run" button.
> 
> 1 -- There's a restriction on what can be "main files", a parameterless 
> procedure, or a parameterless function returning an integer. (Sorry, I 
> can't seem to find the documentation for this; the first form is the 
> most used and definitely works.)
> 2 -- If there's a compile error it should tell you what it is; most of 
> the compilers are decent to pretty good, though sometimes you have to 
> get used to the Ada terminology.

gnatmake not found

I tried installing gnatcoll and still same error after restarting everything.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: experienced unix guy on freebsd 10.1 vs ada hello world
  2015-01-07  7:04   ` johannes falcone
@ 2015-01-07 10:07     ` Dirk Heinrichs
  2015-01-07 14:07       ` johannes falcone
  2015-01-07 14:10       ` johannes falcone
  0 siblings, 2 replies; 8+ messages in thread
From: Dirk Heinrichs @ 2015-01-07 10:07 UTC (permalink / raw)


johannes falcone wrote:

> gnatmake not found

# pkg info -l gcc-aux|grep make
        /usr/local/gcc-aux/bin/gnatmake

Thus, you need to add /usr/local/gcc-aux/bin to your $PATH.

> I tried installing gnatcoll and still same error after restarting
> everything.

Which error after restarting what?

Did you try to install gnatcoll as binary package or via ports? Compiled the 
port just fine ~2 days ago.

Bye...

	Dirk
-- 
Dirk Heinrichs <dirk.heinrichs@altum.de>
Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
GPG Public Key CB614542 | Jabber: dirk.heinrichs@altum.de
Tox: heini@toxme.se
Sichere Internetkommunikation: http://www.retroshare.org
Privacy Handbuch: https://www.privacy-handbuch.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: experienced unix guy on freebsd 10.1 vs ada hello world
  2015-01-07 10:07     ` Dirk Heinrichs
@ 2015-01-07 14:07       ` johannes falcone
  2015-01-07 14:10       ` johannes falcone
  1 sibling, 0 replies; 8+ messages in thread
From: johannes falcone @ 2015-01-07 14:07 UTC (permalink / raw)


On Wednesday, January 7, 2015 2:07:06 AM UTC-8, Dirk Heinrichs wrote:
> johannes falcone wrote:
> 
> > gnatmake not found
> 
> # pkg info -l gcc-aux|grep make
>         /usr/local/gcc-aux/bin/gnatmake
> 
> Thus, you need to add /usr/local/gcc-aux/bin to your $PATH.
> 
> > I tried installing gnatcoll and still same error after restarting
> > everything.
> 
> Which error after restarting what?
> 
> Did you try to install gnatcoll as binary package or via ports? Compiled the 
> port just fine ~2 days ago.
> 
> Bye...
> 
> 	Dirk
> -- 
> Dirk Heinrichs <dirk.heinrichs@altum.de>
> Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
> GPG Public Key CB614542 | Jabber: dirk.heinrichs@altum.de
> Tox: heini@toxme.se
> Sichere Internetkommunikation: http://www.retroshare.org
> Privacy Handbuch: https://www.privacy-handbuch.de

I used binaries, let me try again...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: experienced unix guy on freebsd 10.1 vs ada hello world
  2015-01-07 10:07     ` Dirk Heinrichs
  2015-01-07 14:07       ` johannes falcone
@ 2015-01-07 14:10       ` johannes falcone
  1 sibling, 0 replies; 8+ messages in thread
From: johannes falcone @ 2015-01-07 14:10 UTC (permalink / raw)


On Wednesday, January 7, 2015 2:07:06 AM UTC-8, Dirk Heinrichs wrote:
> johannes falcone wrote:
> 
> > gnatmake not found
> 
> # pkg info -l gcc-aux|grep make
>         /usr/local/gcc-aux/bin/gnatmake
> 
> Thus, you need to add /usr/local/gcc-aux/bin to your $PATH.
> 
> > I tried installing gnatcoll and still same error after restarting
> > everything.
> 
> Which error after restarting what?
> 
> Did you try to install gnatcoll as binary package or via ports? Compiled the 
> port just fine ~2 days ago.
> 
> Bye...
> 
> 	Dirk
> -- 
> Dirk Heinrichs <dirk.heinrichs@altum.de>
> Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
> GPG Public Key CB614542 | Jabber: dirk.heinrichs@altum.de
> Tox: heini@toxme.se
> Sichere Internetkommunikation: http://www.retroshare.org
> Privacy Handbuch: https://www.privacy-handbuch.de

gcc-aux  I might need..


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-07 14:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-06  4:20 experienced unix guy on freebsd 10.1 vs ada hello world johannes falcone
2015-01-06  4:51 ` Jeffrey Carter
2015-01-07  7:03   ` johannes falcone
2015-01-06  5:04 ` Shark8
2015-01-07  7:04   ` johannes falcone
2015-01-07 10:07     ` Dirk Heinrichs
2015-01-07 14:07       ` johannes falcone
2015-01-07 14:10       ` johannes falcone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox