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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b49d3a703a4b4db5,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!x21g2000yqa.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: compiler settings in AdaGIDE Date: Fri, 23 Jul 2010 02:52:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1279878733 27198 127.0.0.1 (23 Jul 2010 09:52:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 23 Jul 2010 09:52:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x21g2000yqa.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12494 Date: 2010-07-23T02:52:11-07:00 List-Id: Hi, I'm using the AdaGIDE editor (version 7.45.2) together with the GNAT AdaCore libre compiler (release 2010) on a Win XP machine. I would like my codes to run as fast as possible and here is the content of a typical gnat.ago file that I use. Please let me know what improvements I can make in order for an Ada program to run in the minimum amount of time. I understand that setting the release mode makes a program bypass some checks and make it run faster. -gnatVa -O3 -gnatn -funroll-loops -gnatf -gnato WINDOWS_TARGET -- Begin compiler switches RELEASE <- active (current) build mode TRUE <- are gcc/gnatmake/main/target-dir of Release := these from Debug mode ? debug o2 false debug inlining false debug unroll_loops false debug suppress_all_checks false debug debug_info true debug integer_overflow_check true debug stack_check false debug trace_back false debug all_validity_checks false debug strip_all_symbols false debug profiling false debug verbose_details false debug all_warnings true debug build_in_place false release o2 true release inlining true release unroll_loops true release suppress_all_checks true release debug_info false release integer_overflow_check false release stack_check false release trace_back false release all_validity_checks false release strip_all_symbols true release profiling false release verbose_details true release all_warnings true release build_in_place false -- End compiler switches -- Begin Release mode commands -- End Release mode commands -- Begin run options prompt_arguments false ad_trace_back false -- End run options Thanks. YC