From: Warren <ve3wwg@gmail.com>
Subject: Re: GPS 2010 for AVR
Date: Fri, 30 Jul 2010 20:56:35 +0000 (UTC)
Date: 2010-07-30T20:56:35+00:00 [thread overview]
Message-ID: <Xns9DC5AC5ACFC7WarrensBlatherings@85.214.73.210> (raw)
In-Reply-To: m2sk30rcc1.fsf@pushface.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1540 bytes --]
Simon Wright expounded in news:m2sk30rcc1.fsf@pushface.org:
> Warren <ve3wwg@gmail.com> writes:
>
>> sjw expounded in news:d00563f7-b2a4-4a8c-8d53-adcbe72d62d8
>> @j9g2000yqn.googlegroups.com:
>>
>>> On Jul 30, 2:40 pm, Warren <ve3...@gmail.com> wrote:
>>>
>>>> avr-gnatlink F:\cygwin\home\Warren\avr\testavr\testavr.ali
>>>> -mmcu=avr5 -
>>> lgcc
>>>> -o F:\cygwin\home\Warren\avr\testavr\testavr
>>>
>>> Just -lgcc on its own? you'd expect it to call up -lgnat & possibly
>>> - lgnarl. Hmm.
>>
>> Huh? It does the -lgnat on its own. Adding it
>> didn't helped either. ;-)
>
> Oh, I must have misunderstood. What happens if you call avr-gnatmake
> with -v -largs -Wl,-v? (to see what's going on).
I did try the -v, but not after -largs. But the problem is now
solved now, by fixing the project file:
The key turned out to be the following 3 lines in the
project file (that I had differently):
package Builder renames AVR.Builder;
package Compiler renames AVR.Compiler;
package Binder renames AVR.Binder;
Evidently, this sets things up a lot of things:
$ avr make
avr-gnatmake -XMCU=atmega328p -Ptestavr.gpr
avr-gcc -c --RTS=rts/avr5 \
-gnatec=C:\WinAVR-20100110\lib\gnat\gnat.adc \
-gdwarf-2 -gnatwp -gnatwu -gnatn -gnatp \
-gnatVn -Os -gnatef -fverbose-asm -frename-registers \
-mmcu=atmega328p -gnateDMCU=atmega328p \
-fdata-sections -ffunction-sections -I- \
-gnatA F:\home\wgay\avr\testavr\testavr.adb
The "avr" is just my wrapper script to fix the PATH
in cygwin for the WinAVR tools.
Warren
next prev parent reply other threads:[~2010-07-30 20:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 19:06 GPS 2010 for AVR Warren
2010-07-29 19:19 ` Tero Koskinen
2010-07-29 19:36 ` Warren
2010-07-30 13:40 ` Warren
2010-07-30 15:43 ` sjw
2010-07-30 16:33 ` Warren
2010-07-30 19:36 ` Simon Wright
2010-07-30 20:56 ` Warren [this message]
2010-07-30 18:13 ` Warren
2010-07-29 20:08 ` Simon Wright
2010-07-30 9:12 ` sjw
2010-07-30 13:22 ` Warren
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox