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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4e7df01d3b597a03 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.135.106 with SMTP id pr10mr12234568pbb.3.1335146733316; Sun, 22 Apr 2012 19:05:33 -0700 (PDT) Path: r9ni87591pbh.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "Rego, P." Newsgroups: comp.lang.ada Subject: Re: Converting a simple makefile in a GPS project. Date: Sun, 22 Apr 2012 19:04:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <18813697.1050.1335146650130.JavaMail.geo-discussion-forums@ynmf4> References: <428617.3.1334627550218.JavaMail.geo-discussion-forums@ynnn9> <82bompjjcc.fsf@stephe-leake.org> <2239906.1208.1335038077367.JavaMail.geo-discussion-forums@ynbi5> <82ehrfj1eh.fsf@stephe-leake.org> NNTP-Posting-Host: 177.9.195.252 Mime-Version: 1.0 X-Trace: posting.google.com 1335146733 631 127.0.0.1 (23 Apr 2012 02:05:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Apr 2012 02:05:33 +0000 (UTC) In-Reply-To: <82ehrfj1eh.fsf@stephe-leake.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=177.9.195.252; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-04-22T19:04:10-07:00 List-Id: > This must be two strings: >=20 > for Default_Switches ("Ada") use ("--RTS=3Dzfp", "--mmcu=3Davr5"); Great! That was the mistake!! I was trying to call the switch "--RTS=3Dzfp = --mmcu=3Davr5", so the builder package understood that the RTS path was 'zf= p --mmcu=3Davr5', instead of just 'zfp', and the rest was another switch. O= ther errors appeared, but I could solve them (below). > I doubt this is a Builder switch. Since gnatmake needs it, it's probably > a Compiler switch. Actually that's half true. The "--RTS=3Dzfp" is a Builder switch, but the "= --mcu=3Davr5" is a Linker switch. I discovered because separating the strin= gs caused other error, but the builder did not complain about the "--RTS=3D= zfp". > Move the --RTS and --mmcu switches to other packages until it shows up he= re. So I kept moving the "--mcu=3Davr5" along the packages, and in Linker it wo= rked. Also there were other problems in Linker switches, because I was also= concatenating the other switches as a single strings (same problem as befo= re), but fixing it, give it right.=20 Thank you.