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!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Markus_Sch=c3=b6pflin?= Newsgroups: comp.lang.ada Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3 Date: Wed, 27 Jul 2016 09:09:25 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <3e02dbb0-69e3-429b-b8c5-d4762dbeb187@googlegroups.com> <66240de6-d3a8-458d-9eb9-1214f790831c@googlegroups.com> NNTP-Posting-Host: MdpKeRr+sx3LK7JQiK5aNw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:31175 Date: 2016-07-27T09:09:25+02:00 List-Id: Am 26.07.2016 um 23:20 schrieb jrmarino: > On Monday, July 25, 2016 at 1:48:12 PM UTC-5, ahlan.m...@gmail.com wrote: >> package Binder is for Default_Switches ("ada") use ("-E"); end Binder; > > Are you reading the replies in your own thread? It's been said that -E in > package Binder will not work. You have to pass -bargs when you invoke > gprbuild on the command line. From what I can tell, there's nothing wrong > TDM-GCC compiler, you're just not invoking gprbuild correctly. I didn't follow the thread but your statement is not true in general. We are using the following statement in our gpr files: package BINDER is for DEFAULT_SWITCHES ("Ada") use ("-E", "-we", "-g"); end BINDER; and it certainly results in -E being added to the command line of gnatbind, as can be seen by invoking gprbuild with -v. The resulting invocation of gnatbind looks e.g.: gnatbind -o b__foo.adb foo.ali -E -we -g -x -F=GNAT-TEMP-000004.TMP -O=GNAT-TEMP-000006.TMP Markus