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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ADA.STRINGS.INDEX_ERROR : a-strunb.adb:782 Date: Mon, 15 Jan 2018 13:51:17 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="bace45c2e433887fcd332d54126ebdc1"; logging-data="2487"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/yfB4aR1z0+aO0QKlPPK3mcJvZCAeWvHU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:DjwdFDJ4oULUDdZXhVhhZDXWYEg= sha1:E0+GGTmX5yQ7oyQ+LjFQFwOywKI= Xref: reader02.eternal-september.org comp.lang.ada:49914 Date: 2018-01-15T13:51:17+00:00 List-Id: Mehdi Saada <00120260a@gmail.com> writes: > That's an awful lot of things at once x_x, but thanks. So in linux I > have to go past the "./doinstall" script, right... Never used specific > compilation option for anything until now. I don't understand what you mean by 'go past the "./doinstall" script'. Once you've installed the compiler, you use it to compile your code in the way (with the switches) you want. If you're building from the command line with gnatmake or gprbuild, say $ gnatmake hello.adb -g -bargs -E (you might add '-f' the first time, to force a rebuild with the new switches). Somewhat more complicated with GPS: once your project is loaded, edit the project properties panel, called up by menu Project > Properties: in Switches > Builder, check 'Debug information' in Switches > Binder, check 'Store call stack in exceptions' & save, then rebuild (Build > Project > Build all).