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.211.136 with SMTP id nc8mr1929743pbc.6.1335150199799; Sun, 22 Apr 2012 20:03:19 -0700 (PDT) Path: r9ni87742pbh.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:34:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: <20445554.1190.1335148453769.JavaMail.geo-discussion-forums@ynbi5> References: <428617.3.1334627550218.JavaMail.geo-discussion-forums@ynnn9> <82bompjjcc.fsf@stephe-leake.org> NNTP-Posting-Host: 177.9.195.252 Mime-Version: 1.0 X-Trace: posting.google.com 1335150199 4341 127.0.0.1 (23 Apr 2012 03:03:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Apr 2012 03:03:19 +0000 (UTC) In-Reply-To: <82bompjjcc.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:34:13-07:00 List-Id: Now I got to run all the line (and variants) avr-gnatmake main -o $@ -Os -mmcu=3Davr4 --RTS=3Dzfp -largs crtm8._o -nostd= lib -lgcc -mavr4 -Tdata=3D0x00800200 from makefile. Now the next step is to include the lines in .gpr project fi= le (1) avr-objdump -h -S main.elf >"main.lss" (2) avr-objcopy -O ihex $< $@ in a way that when I run Build, the Builder generates inside the bin folder= the main.elf (already ok), the main.lss, and the main.hex files. The avr-s= ize, avrdude and clean parts are not necessary; (the avrdude I can execute = from an outside batch, no problem). I looked into gprbuilder_ug documentation and there are lots of info, I did= not find something like it. Maybe would exist a more direct way inside .gp= r project?