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.125.233 with SMTP id mt9mr9481761pbb.5.1335038201598; Sat, 21 Apr 2012 12:56:41 -0700 (PDT) Path: r9ni82887pbh.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: Sat, 21 Apr 2012 12:54:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2239906.1208.1335038077367.JavaMail.geo-discussion-forums@ynbi5> References: <428617.3.1334627550218.JavaMail.geo-discussion-forums@ynnn9> <82bompjjcc.fsf@stephe-leake.org> NNTP-Posting-Host: 187.56.99.5 Mime-Version: 1.0 X-Trace: posting.google.com 1335038201 18159 127.0.0.1 (21 Apr 2012 19:56:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 21 Apr 2012 19:56:41 +0000 (UTC) In-Reply-To: <82bompjjcc.fsf@stephe-leake.org> 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 Date: 2012-04-21T12:54:37-07:00 List-Id: > Apparently you are using '.elf' as the 'executable extension'. That is > specified in 'package Builder', via 'Executable_Suffix' (see > gprbuild_ug.info, section 6.3 Package Builder). > > The other options go in 'package Compiler' or 'package Linker'. It is > difficult to tell which; things following -largs probably go in Linker, > but you may have to experiment. The manual is no help here; I have > complained about this to AdaCore, to no avail. > 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"); 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 [2012-04-21 16:48:27] process exited with status 4 (elapsed time: 00.10s)