comp.lang.ada
 help / color / mirror / Atom feed
From: M E Leypold <development-2006-8ecbb5cc8aREMOVETHIS@ANDTHATm-e-leypold.de>
Subject: Re: Meet the new GPS...same as the old GPS...
Date: 28 Jun 2006 01:23:06 +0200
Date: 2006-06-28T01:23:06+02:00	[thread overview]
Message-ID: <yjr71ambdx.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: 1151438075.641788.269960@m73g2000cwd.googlegroups.com


randomm@mindless.com writes:

> X-Archive-No: Yes
> 
> M E Leypold wrote:
> > randomm@mindless.com writes:
> 
> snip
> 
> > Yes. Use Emacs and Gnatmake if you have pure Ada projects,
> > additionally use (Gnu) make if you also need to generate Ada files
> > from other descriptions. I'm also using Cygwin as a shell enviroment
> > to build on windows (logging in with ssh remotely).
> >
> > I think that is a good way to go. If you need, I can post parts of
> > Makefiles, build scripts, and project files, just ask specifically.
> 
> Thanks very much, indeed.  I'm just starting to try to learn Ada and
> I'm cutting and pasting examples and trying my own small programs.  I'm
> having so much difficulty getting started with the toolset that I don't
> really know what to ask about.  I suppose aside from a basic
> understanding of Ada I need to understand how an Ada project is put
> together.  I found some excellents texts on Ada and I intend to go
> through them all but I haven't seen a discussion of how a project is
> managed (since that's properly the province of the toolset
> documentation).

Exactly. Its outside of the scope of the language definition.

You might start by just using the shell to invoke the Editor on single
source files (in GNAT a compilation unit corresponds to a file:
procedure, package or package body). Then invoke gnatmake on the
program main file (procedure), like this:

   gnatmake foo

That will generate foo from foo.adb (which must contain Procedure
Foo). Gnatmake will take care of all dependencies automatically, so
there is no need to managing anything very much at that point.

(Later: Use a version control system, perhaps, but only in projects
 not pure Ada, use make as a wrapper around gnatmake. I'll send you my
 makefile(s) when need arises).

> Unfortunately it doesn't seem to be the case with Ada which seems
> understandable given its niche but a shame nevertheless.  In my
> short time examining it, Ada appears to have some extremely nice
> features that are lacking in other HLLs.

ACK. But ... (well, lets skip that :-)). If you want to discuss modern
languages for possible commercial enterprise (I usually like to title
that "languages for the third millenium"), write me privately. This is
comp.lang.ada after all and therefore probably not the right place to
discuss alternatives (interpret that as fallbacks). I hope I can get
you in contact with other smart people (that doesn't include me, but
I'll be here) which like to discuss these things and which are also
advising me sometimes on these issues.

Regards -- Markus






  parent reply	other threads:[~2006-06-27 23:23 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1151320748.360707.79490@u72g2000cwu.googlegroups.com>
2006-06-26 15:49 ` Meet the new GPS...same as the old GPS Martin Krischik
     [not found]   ` <1151342956.402547.244450@p79g2000cwp.googlegroups.com>
2006-06-26 17:42     ` M E Leypold
     [not found]       ` <1151437378.281759.5280@75g2000cwc.googlegroups.com>
2006-06-27 23:06         ` M E Leypold
2006-06-28  9:23           ` Ludovic Brenta
2006-06-28 12:48             ` M E Leypold
2006-06-29 21:01               ` Ludovic Brenta
     [not found]                 ` <1151663198.061674.171420@b68g2000cwa.googlegroups.com>
2006-06-30 10:54                   ` M E Leypold
2006-06-30 15:43                 ` Stephen Leake
2006-06-30 21:57                   ` Ludovic Brenta
2006-07-01  8:46                   ` Simon Wright
     [not found]             ` <1151496846.934920.174760@x69g2000cwx.googlegroups.com>
2006-06-28 12:53               ` M E Leypold
2006-06-29 22:02                 ` Simon Wright
2006-06-28 20:01               ` Ludovic Brenta
     [not found]                 ` <1151597425.667829.326810@x69g2000cwx.googlegroups.com>
2006-06-29 17:10                   ` M E Leypold
2006-06-30 15:46                     ` Stephen Leake
2006-06-29 21:02                   ` Ludovic Brenta
2006-06-28 20:42             ` Simon Wright
2006-06-28 21:07               ` Ludovic Brenta
     [not found]           ` <1151496427.622323.141370@x69g2000cwx.googlegroups.com>
2006-06-28 12:54             ` M E Leypold
2006-06-26 16:26 ` Alex R. Mosteo
     [not found]   ` <1151343516.598780.72970@m73g2000cwd.googlegroups.com>
2006-06-26 18:09     ` M E Leypold
     [not found]       ` <1151438643.540118.175130@b68g2000cwa.googlegroups.com>
2006-06-27 22:12         ` Ludovic Brenta
2006-06-27 23:09           ` M E Leypold
2006-06-27 23:30             ` Jeffrey Creem
     [not found]       ` <1151438075.641788.269960@m73g2000cwd.googlegroups.com>
2006-06-27 23:23         ` M E Leypold [this message]
2006-06-27  6:54     ` ME
2006-06-27 13:31     ` Alex R. Mosteo
     [not found]       ` <1151417657.725848.229020@75g2000cwc.googlegroups.com>
2006-06-27 14:38         ` Alex R. Mosteo
     [not found]           ` <1151419844.957473.214400@m73g2000cwd.googlegroups.com>
2006-06-27 15:13             ` Alex R. Mosteo
2006-06-27 15:35               ` randomm
2006-06-27 11:39 ` Jeffrey Creem
2006-06-27 13:34   ` Dmitry A. Kazakov
2006-06-27 19:57     ` Björn Persson
2006-06-27 15:11   ` Pascal Obry
     [not found]   ` <1151410861.923912.302040@c74g2000cwc.googlegroups.com>
2006-06-27 22:31     ` Simon Wright
replies disabled

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