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:04:10 -0700 (PDT)
Date: 2012-04-22T19:04:10-07:00	[thread overview]
Message-ID: <18813697.1050.1335146650130.JavaMail.geo-discussion-forums@ynmf4> (raw)
In-Reply-To: <82ehrfj1eh.fsf@stephe-leake.org>

> This must be two strings:
> 
>        for Default_Switches ("Ada") use ("--RTS=zfp", "--mmcu=avr5");
Great! That was the mistake!! I was trying to call the switch "--RTS=zfp --mmcu=avr5", so the builder package understood that the RTS path was 'zfp --mmcu=avr5', instead of just 'zfp', and the rest was another switch. Other errors appeared, but I could solve them (below).

> I doubt this is a Builder switch. Since gnatmake needs it, it's probably
> a Compiler switch.
Actually that's half true. The "--RTS=zfp" is a Builder switch, but the "--mcu=avr5" is a Linker switch. I discovered because separating the strings caused other error, but the builder did not complain about the "--RTS=zfp".

> Move the --RTS and --mmcu switches to other packages until it shows up here.
So I kept moving the "--mcu=avr5" along the packages, and in Linker it worked. Also there were other problems in Linker switches, because I was also concatenating the other switches as a single strings (same problem as before), but fixing it, give it right. 
Thank you.



  parent reply	other threads:[~2012-04-23  2:05 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. [this message]
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