[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402
From: |
Preston Wilson |
Subject: |
Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402 |
Date: |
Thu, 03 Apr 2008 12:40:25 -0400 |
User-agent: |
Microsoft-Entourage/11.4.0.080122 |
I added -Ic:/WinAVR-20080402/avr/include to the options passed to gcc and
now I can build the two projects that I wanted to test.
Robert, sorry you are receiving this again, but before I accidentally just
replied to you.
-Preston
"Robert Nelson" wrote:
> Guys,
>
> Tested on one of my win2k sandbox virutal machines and WinAVR-20080402
> still fails. (just WinAVR and AVRStudio Build 571/584)
>
> PATH=C:\WinAVR-20080402\bin;C:\WinAVR-20080402\utils\bin;C:\WINNT\system32;C:\
> WINNT;C:\WINNT\System32\Wbem
>
> This is strange since avr-gcc -v is pretty much exact for both builds,
> other then --with-pkgversion and -with-bugurl..
>
> C:\WinAVR-20080402\bin>avr-gcc -v
> Using built-in specs.
> Target: avr
> Configured with: ../gcc-4.3.0/configure
> --enable-win32-registry=WinAVR-20080402
> --with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/c/WinAVR
> --target=avr --e
> nable-languages=c,c++,objc,ada --with-dwarf2 --disable-nls --enable-doc
> --disabl
> e-shared --disable-libada --disable-libssp --with-pkgversion='WinAVR
> 20080402' -
> -with-bugurl='URL:http://sourceforge.net/tracker/?atid=520074&group_id=68108&f
> un
> c=browse'
> Thread model: single
> gcc version 4.3.0 (WinAVR 20080402)
>
> C:\WinAVR-20071221\bin>avr-gcc -v
> Using built-in specs.
> Target: avr
> Configured with: ../gcc-4.2.2/configure
> --enable-win32-registry=WinAVR-20071221
> --with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/c/WinAVR
> --target=avr --e
> nable-languages=c,c++,objc,ada --with-dwarf2 --disable-nls --enable-doc
> --disabl
> e-shared --disable-libada
> Thread model: single
> gcc version 4.2.2 (WinAVR 20071221)
>
> Robert Nelson
> FAE - Digi-Key
>
>
> Preston Wilson wrote:
>> I believe I am seeing the same issue. The project below builds under both
>> WinAVR-20071221 and WinAVR-20070525.
>>
>> The system that I am using had WinAVR-20070525 installed, but that was
>> uninstalled before WinAVR-20071221 was installed. And I uninstalled
>> WinAVR-20071221 before installing WinAVR-20080402. This is a system that I
>> use to test new development tools.
>>
>> -------- begin --------
>> avr-gcc (WinAVR 20080402) 4.3.0
>> Copyright (C) 2008 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions. There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>
>>
>> Compiling C: hm.c
>> avr-gcc -c -mmcu=atmega324p -I. -gdwarf-2 -DF_CPU=7372800UL -Os
>> -funsigned-char
>> -funsigned-bitfields -fpack-struct -fshort-enums -Wall
>> -Werror -Wstrict-prototypes -Wextra -Wa,-adhlns=obj/hm.lst -std=gnu99 -MMD
>> -MP -MF .dep/hm.o.d hm.c -o obj/hm.o
>> hm.c:30:22: error: inttypes.h: No such file or directory
>> hm.c:31:19: error: stdio.h: No such file or directory
>> hm.c:33:20: error: avr/io.h: No such file or directory
>> hm.c:34:27: error: avr/interrupt.h: No such file or directory
>> hm.c:35:23: error: avr/sleep.h: No such file or directory
>> hm.c:36:23: error: avr/power.h: No such file or directory
>> hm.c:38:24: error: util/delay.h: No such file or directory
>> In file included from hm.c:42:
>> timer0.h:20: error: expected specifier-qualifier-list before 'uint8_t'
>> timer0.h:27: error: expected declaration specifiers or '...' before
>> 'uint8_t'
>> In file included from hm.c:44:
>> rtc.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before
>> 'g_utc_second'
>>
>> ... a lot of error messages removed ...
>>
>> make: *** [obj/hm.o] Error 1
>>
>> All of the files with the error "No such file or directory" are under
>> c:\WinAVR-20080402\avr\include\...
>>
>>
>> GCC_EXEC_PREFIX is not defined in my environment
>>
>>> From Cygwin bash command line, which is what I run make under
>> $ echo $PATH
>> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WinAVR-20080402/bin
>> :/cygdrive/c/WinAVR-20080402/utils/bin:/cygdrive/c/Perl/bin/:/cygdrive/c/WIN
>> DOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdriv
>> e/c/Program Files/ATI Technologies/ATI Control Panel:/cygdrive/c/Program
>> Files/Common Files/Adobe/AGL:/cygdrive/c/Program Files/Microsoft SQL
>> Server/90/Tools/binn/:/cygdrive/c/subversion/bin:/cygdrive/c/Program
>> Files/Microsoft Driver Test Manager/Controller/:/cygdrive/c/Program
>> Files/Microsoft Winqual Submission Tool
>> 2/:/home/pwilson/bin:/cygdrive/c/putty
>>
>>
>> HKLM\SOFTWARE\Free Software Foundation\WinAVR-20080402
>> BINUTILS REG_SZ C:\WinAVR-20080402
>> G++ REG_SZ C:\WinAVR-20080402
>> GCC REG_SZ C:\WinAVR-20080402
>>
>> HKLM\SOFTWARE\WinAVR
>> 20080402 REG_EXPAND_SZ C:\WinAVR-20080402
>>
>> -Preston
>>
>>
>> "Weddington, Eric" wrote:
>>
>>
>>> Hi Robert,
>>>
>>> I'm not seeing the same problem here.
>>>
>>> Could you show me your PATH environment variable?
>>>
>>> Also do you have GCC_EXEC_PREFIX environment variable defined to
>>> anything?
>>>
>>> What registry keys do you have under this?:
>>> HKLM\SOFTWARE\Free Software Foundation\WinAVR\20080402\
>>> And what are they set to?
>>>
>>> Thanks for reporting this.
>>>
>>> Eric Weddington
>>> Product Manager
>>> Atmel
>>>
>>>
>>>> -----Original Message-----
>>>> From: Robert Nelson [mailto:address@hidden
>>>> Sent: Thursday, April 03, 2008 7:58 AM
>>>> To: Weddington, Eric
>>>> Cc: address@hidden; Robert Nelson
>>>> Subject: Internal linking path Issues WinAVR-20080402
>>>>
>>>> Hey Eric,
>>>>
>>>> Just noticed an issue with todays release of WinAVR-20080402, it's
>>>> missing the internal path to /avr/include, so <avr/io.h>'s
>>>> are failing.
>>>>
>>>> avr-gcc -v with 20071221
>>>>
>>>> #include <...> search starts here:
>>>> c:\winavr-20071221\bin\../lib/gcc/avr/4.2.2/include
>>>> c:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/include
>>>> c:/winavr-20071221/bin/../avr/include
>>>> End of search list.
>>>>
>>>> avr-gcc -v with 2008042
>>>>
>>>> #include <...> search starts here:
>>>> c:\winavr-20080402\bin\../lib/gcc/avr/4.3.0/include
>>>> c:\winavr-20080402\bin\../lib/gcc/avr/4.3.0/include-fixed
>>>> End of search list.
>>>>
>>>> MD5 Sum of WinAVR-20080402 : 14aad35fa1b6f5280c01c28f76bcf774
>>>>
>>>>
>>>> Robert Nelson
>>>> FAE - Digi-Key
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> AVR-GCC-list mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>>>
>>
>>
>>
>>
>> _______________________________________________
>> AVR-GCC-list mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>>
>>
>
- [avr-gcc-list] Removal of ATmega32HVB device, Weddington, Eric, 2008/04/02
- [avr-gcc-list] Internal linking path Issues WinAVR-20080402, Robert Nelson, 2008/04/03
- Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Preston Wilson, 2008/04/03
- Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Robert Nelson, 2008/04/03
- Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402,
Preston Wilson <=
- RE: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Weddington, Eric, 2008/04/03
- Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Robert Nelson, 2008/04/03
- RE: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Weddington, Eric, 2008/04/03
- Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Robert Nelson, 2008/04/03
- RE: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Weddington, Eric, 2008/04/03
- RE: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Weddington, Eric, 2008/04/03
- Re: [avr-gcc-list] RE: Internal linking path Issues WinAVR-20080402, Preston Wilson, 2008/04/03