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!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Hint to Ada newbies Date: Thu, 09 Feb 2017 08:02:21 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="fb7b1721175eb346700d208f0f42cd66"; logging-data="15456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XQv9Wf7E1iKIUtYZ0Q9Nf6ygcn41t/gw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cancel-Lock: sha1:Mv7M8+NT+ekQRFDeYp7zsLONyQk= sha1:UywEwaVTClYYlY5zno5RPO1nySo= Xref: news.eternal-september.org comp.lang.ada:33281 Date: 2017-02-09T08:02:21+00:00 List-Id: Per Sandberg writes: > package Builder is > for Default_Switches("Ada") use ("-k", "-j0"); I have had to use the power switch to stop a build using -j0! '-j<1 less than the number of cores>' does pretty well. > package Compiler is > for Switches ("ada") use > ("-gnatyybcfhiklnprtu", "-gnatyN256", "-gnaty3", -- Check > layout. (a) personally I use -gnaty on its own (equivalent of -gnaty3abcefhiklmnprst, run 'gnatmake -h' for the switches). If I really didn't want e.g. the standard -gnatye (check end/exit labels present), I think I'd say "-gnaty -gnaty-e". (b) -gnatyN256? M256 I could understand, if you don't mind unreadably long lines, N means "turn off all checks", N256 is undefined.