From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,22f16ac7be692e32 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-08 00:03:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.tesion.net!newsfeed-zh.ip-plus.net!news.ip-plus.net!not-for-mail From: Thomas Wolf Newsgroups: comp.lang.ada Subject: Re: ANN: AdaBrowse 2.0 Date: Wed, 8 May 2002 09:03:06 +0200 Organization: --- Message-ID: References: Reply-To: t_wolf@angelfire.com NNTP-Posting-Host: pargate2.paranor.ch X-Trace: rex.ip-plus.net 1020841381 6477 195.65.4.190 (8 May 2002 07:03:01 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Wed, 8 May 2002 07:03:01 +0000 (UTC) X-Newsreader: MicroPlanet Gravity v2.50 Xref: archiver1.google.com comp.lang.ada:23700 Date: 2002-05-08T09:03:06+02:00 List-Id: [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