comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Hint to Ada newbies
Date: Thu, 09 Feb 2017 08:02:21 +0000
Date: 2017-02-09T08:02:21+00:00	[thread overview]
Message-ID: <lyk28zg5bm.fsf@pushface.org> (raw)
In-Reply-To: DFTmA.290841$8w1.131571@fx02.fr7

Per Sandberg <per.s.sandberg@bahnhof.se> 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.


  reply	other threads:[~2017-02-09  8:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-09  4:17 Hint to Ada newbies reinkor
2017-02-09  6:06 ` Per Sandberg
2017-02-09  8:02   ` Simon Wright [this message]
2017-02-09 23:12     ` Robert A Duff
2017-02-10  9:22       ` Dmitry A. Kazakov
2017-02-11  9:16         ` Hadrien Grasland
2017-02-11  9:39           ` Dmitry A. Kazakov
2017-02-10  9:56       ` Simon Wright
2017-02-11  9:25         ` Hadrien Grasland
2017-02-09  9:26   ` reinkor
2017-02-09 17:40   ` John Smith
2017-02-11 17:40 ` stevenselectronicmail
replies disabled

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