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,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 pr10mr11151656pbb.3.1335104258142; Sun, 22 Apr 2012 07:17:38 -0700 (PDT) Path: r9ni85748pbh.0!nntp.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Converting a simple makefile in a GPS project. References: <428617.3.1334627550218.JavaMail.geo-discussion-forums@ynnn9> <82bompjjcc.fsf@stephe-leake.org> <2239906.1208.1335038077367.JavaMail.geo-discussion-forums@ynbi5> Date: Sun, 22 Apr 2012 10:18:14 -0400 Message-ID: <82ehrfj1eh.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:yR5ZsO3P1u1G7TlNnQeHsHhWkVs= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: eb1524f941301e029e66122328 X-Received-Bytes: 1698 Content-Type: text/plain; charset=us-ascii Date: 2012-04-22T10:18:14-04:00 List-Id: "Rego, P." writes: > I tried to split the avr-gnatmake into > package Builder is > for Executable_Suffix use ".elf"; > for Default_Switches ("Ada") use ("--RTS=zfp --mmcu=avr5"); This must be two strings: for Default_Switches ("Ada") use ("--RTS=zfp", "--mmcu=avr5"); I doubt this is a Builder switch. Since gnatmake needs it, it's probably a Compiler switch. > end Builder; > > package Linker is > for Default_Switches ("Ada") use ("tool\winavr-20100110\avr\lib\crtm8._o -nostdlib -lgcc -mavr5 -Tdata=0x00800200"); > end Linker; > > but still it returns me > > avr-gnatmake -d -f -Pc:\test.gpr main.adb > avr-gnatmake: RTS path not valid: missing adainclude and adalib directories Move the --RTS and --mmcu switches to other packages until it shows up here. -- -- Stephe