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.227.230 with SMTP id sd6mr10206963pbc.8.1335067879295; Sat, 21 Apr 2012 21:11:19 -0700 (PDT) Path: r9ni84192pbh.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "Rego, P." Newsgroups: comp.lang.ada Subject: Configuring --RTS=? on GPS Date: Sat, 21 Apr 2012 21:09:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2447560.2680.1335067754760.JavaMail.geo-discussion-forums@ynbi17> References: <428617.3.1334627550218.JavaMail.geo-discussion-forums@ynnn9> <82bompjjcc.fsf@stephe-leake.org> <2239906.1208.1335038077367.JavaMail.geo-discussion-forums@ynbi5> NNTP-Posting-Host: 187.56.99.5 Mime-Version: 1.0 X-Trace: posting.google.com 1335067879 31914 127.0.0.1 (22 Apr 2012 04:11:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 22 Apr 2012 04:11:19 +0000 (UTC) In-Reply-To: <2239906.1208.1335038077367.JavaMail.geo-discussion-forums@ynbi5> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=187.56.99.5; 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-21T21:09:14-07:00 List-Id: > I tried to split the avr-gnatmake into=20 > package Builder is > for Executable_Suffix use ".elf"; > for Default_Switches ("Ada") use ("--RTS=3Dzfp --mmcu=3Davr5"); > end Builder; >=20 > package Linker is > for Default_Switches ("Ada") use ("tool\winavr-20100110\avr\lib\crt= m8._o -nostdlib -lgcc -mavr5 -Tdata=3D0x00800200"); > end Linker; >=20 > but still it returns me=20 >=20 > avr-gnatmake -d -f -Pc:\test.gpr main.adb > avr-gnatmake: RTS path not valid: missing adainclude and adalib directori= es >=20 > [2012-04-21 16:48:27] process exited with status 4 (elapsed time: 00.10s) So now I am trying to configure the --RTS option in GPS. First I tried to i= nclude the two Windows Scenario variables ADAINCLUDE and ADALIB with the co= rrect RTS path, but still the builder returns me the same error message ("a= vr-gnatmake: RTS path not valid: missing adainclude and adalib directories"= ). Secondly I tried to include the following lines inside .gpr file, but the r= esult was the same. type Ada_Include_Type is ("""c:\GNAT\2011\lib\gcc\avr\4.5.3\rts-zfp\adai= nclude"""); Ada_Include : Ada_Include_Type :=3D external ("ADAINCLUDE", """c:\GNAT\2= 011\lib\gcc\avr\4.5.3\rts-zfp\adainclude"""); =20 type Ada_Lib_Type is ("""c:\GNAT\2011\lib\gcc\avr\4.5.3\rts-zfp\adalib""= "); Ada_Lib : Ada_Lib_Type :=3D external ("ADALIB", """c:\GNAT\2011\lib\gcc\= avr\4.5.3\rts-zfp\adalib"""); And finally I tried to set the path directly on package Builder, so I used= =20 package Builder is for Executable_Suffix use ".elf"; for Default_Switches ("Ada") use ("--RTS=3Dc:\GNAT\2011\lib\gcc\avr\4= .5.3\rts-zfp --mmcu=3Davr5"); end Builder; and also the error message did not change. Would someone have an idea on how to fix this?