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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fef3ad775ef4b0b7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!l33g2000pri.googlegroups.com!not-for-mail From: John McCormick Newsgroups: comp.lang.ada Subject: Re: Ada for 1st year students Date: Tue, 21 Oct 2008 17:41:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: <31b1da2d-1429-4fec-8b9f-161c8c96aaaa@l33g2000pri.googlegroups.com> References: <60e0c5f0-1e17-4add-b21e-b1ef622d5233@v13g2000pro.googlegroups.com> NNTP-Posting-Host: 67.212.104.239 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1224636094 17510 127.0.0.1 (22 Oct 2008 00:41:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Oct 2008 00:41:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l33g2000pri.googlegroups.com; posting-host=67.212.104.239; posting-account=jVm7MAoAAABZ69ylB7L9PjZAVQg4j4fC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2455 Date: 2008-10-21T17:41:34-07:00 List-Id: On Oct 21, 6:16=A0am, amado.al...@gmail.com wrote: > /* > AdaGIDE has a few quirks, cannot handle paths containing spaces, and I > cannot find how to pass options to the compiler (I need the -gnatW8 > switch to write in Unicode, I don't understand why this is not the > default behaviour of GNAT, of all tools actually, but that's another > story) > */ You can add all the compiler options you like through the Tools- >Global Settings. This creates a file called gnat.ago that you can copy to any directory to reuse those settings. You can have one set of switches for debug development and another for release (production programs). The choice between the modes is made from the tool bar. I use a lot of style switches in my beginning classes. Here are my AdaGIDE settings: -gnaty3aAeiklM110rtx -gnatwcdfgkmruw I don't have problems with spaces in path names with AdaGIDE. I did have that problem before. But I'm not sure whether it was an upgrade to a later version of AdaGIDE or an later version of GNAT that solved the problem. John