comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Converting a simple makefile in a GPS project.
Date: Sun, 22 Apr 2012 19:34:13 -0700 (PDT)
Date: 2012-04-22T19:34:13-07:00	[thread overview]
Message-ID: <20445554.1190.1335148453769.JavaMail.geo-discussion-forums@ynbi5> (raw)
In-Reply-To: <82bompjjcc.fsf@stephe-leake.org>

Now I got to run all the line (and variants)
avr-gnatmake main -o $@ -Os -mmcu=avr4 --RTS=zfp -largs crtm8._o -nostdlib -lgcc -mavr4 -Tdata=0x00800200

from makefile. Now the next step is to include the lines in .gpr project file
(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-size, 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 .gpr project?



  parent reply	other threads:[~2012-04-23  3:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17  1:52 Converting a simple makefile in a GPS project Rego, P.
2012-04-18 12:45 ` Rolf
2012-04-21 19:56   ` Rego, P.
2012-04-18 12:49 ` Stephen Leake
2012-04-21 19:54   ` Rego, P.
2012-04-22  4:09     ` Configuring --RTS=? on GPS Rego, P.
2012-04-22 14:18     ` Converting a simple makefile in a GPS project Stephen Leake
2012-04-22 15:30       ` Simon Wright
2012-04-23  2:09         ` Rego, P.
2012-04-23  2:04       ` Rego, P.
2012-04-21 19:57   ` Rego, P.
2012-04-23  2:34   ` Rego, P. [this message]
2012-04-24 12:17     ` Stephen Leake
2012-04-27  4:07       ` Rego, P.
     [not found]       ` <30582310.1752.1335499373911.JavaMail.geo-discussion-forums@ynjj16>
2012-04-28  7:05         ` Stephen Leake
2012-04-30  2:41           ` Rego, P.
2012-04-30  2:43       ` Rego, P.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox