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