comp.lang.ada
 help / color / mirror / Atom feed
From: Thomas Wolf <t_wolf@angelfire.com>
Subject: Re: ANN: AdaBrowse 2.0
Date: Wed, 8 May 2002 09:03:06 +0200
Date: 2002-05-08T09:03:06+02:00	[thread overview]
Message-ID: <MPG.1742ec04838a8b8e98968b@news.ip-plus.net> (raw)
In-Reply-To: slrnadfo81.72a.randhol+abuse@kiuk0152.chembio.ntnu.no

[CC by e-mail to Preben Randhol]

randhol+abuse@pvv.org wrote in comp.lang.ada:

> So it would be nice if the Adabrowse program has a :
> 
>    compiler_command : constant String := "gcc ";
> 
> and use this throughout the program. Bcs then one only have to change
> it at one place and not 4-5 places as one must do now :-) However if one
> wants to distribute binaries, then perhaps a command line argument would
> be at it's place to specify which compiler to use.

I don't get it. You don't have to modify the sources if your compiler is
called "gnatgcc". Just define in a config file (say, "adabrowse.cfg")

  Compile = gnatgcc -c -gnatc -gnatt

and define (in your shell) an alias

  alias adabrowse = 'adabrowse -c adabrowse.cfg'

and all should be fine. (OK, some error messages will still say 
"gcc"...)

So it's not a command-line option (there's already enough of that, and
furthermore, it's not likely that the compile command needs to be
changed often), but a configuration file key.

But anyway, thanks for the suggestion. If you want to be certain that
I see such improvement proposals (or bug reports), please send them
to the e-mail address given in the user's guide, section 11. I do not
follow cla on a regular basis.

-- 
-----------------------------------------------------------------
Thomas Wolf                          e-mail: t_wolf@angelfire.com




  parent reply	other threads:[~2002-05-08  7:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07  9:36 ANN: AdaBrowse 2.0 Thomas Wolf
2002-05-07 10:34 ` Preben Randhol
2002-05-07 10:40   ` Duncan Sands
2002-05-07 11:52     ` Preben Randhol
2002-05-07 11:55   ` David C. Hoos
2002-05-07 11:57     ` Preben Randhol
2002-05-07 13:05       ` David C. Hoos
2002-05-07 13:45         ` Preben Randhol
2002-05-07 14:01           ` David C. Hoos
2002-05-07 14:13             ` Preben Randhol
2002-05-07 14:22               ` David C. Hoos
2002-05-07 14:50                 ` Preben Randhol
2002-05-08  7:03               ` Thomas Wolf [this message]
2002-05-08 11:08                 ` Preben Randhol
2002-05-08 13:01                   ` Thomas Wolf
2002-05-08 14:07                     ` Preben Randhol
replies disabled

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