From: "Rego, P." <pvrego@gmail.com>
Subject: Configuring --RTS=? on GPS
Date: Sat, 21 Apr 2012 21:09:14 -0700 (PDT)
Date: 2012-04-21T21:09:14-07:00 [thread overview]
Message-ID: <2447560.2680.1335067754760.JavaMail.geo-discussion-forums@ynbi17> (raw)
In-Reply-To: <2239906.1208.1335038077367.JavaMail.geo-discussion-forums@ynbi5>
> 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)
So now I am trying to configure the --RTS option in GPS. First I tried to include the two Windows Scenario variables ADAINCLUDE and ADALIB with the correct RTS path, but still the builder returns me the same error message ("avr-gnatmake: RTS path not valid: missing adainclude and adalib directories").
Secondly I tried to include the following lines inside .gpr file, but the result was the same.
type Ada_Include_Type is ("""c:\GNAT\2011\lib\gcc\avr\4.5.3\rts-zfp\adainclude""");
Ada_Include : Ada_Include_Type := external ("ADAINCLUDE", """c:\GNAT\2011\lib\gcc\avr\4.5.3\rts-zfp\adainclude""");
type Ada_Lib_Type is ("""c:\GNAT\2011\lib\gcc\avr\4.5.3\rts-zfp\adalib""");
Ada_Lib : Ada_Lib_Type := 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
package Builder is
for Executable_Suffix use ".elf";
for Default_Switches ("Ada") use ("--RTS=c:\GNAT\2011\lib\gcc\avr\4.5.3\rts-zfp --mmcu=avr5");
end Builder;
and also the error message did not change.
Would someone have an idea on how to fix this?
next prev parent reply other threads:[~2012-04-22 4:11 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 ` Rego, P. [this message]
2012-04-22 14:18 ` 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.
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