public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window
@ 2006-07-11 9:22 rafurer at hawaii dot rr dot com
2006-07-11 10:51 ` [Bug other/28336] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: rafurer at hawaii dot rr dot com @ 2006-07-11 9:22 UTC (permalink / raw)
To: gcc-bugs
July 10, 2006
Bug Report
Aloha from Honolulu,
The version info is at the end of this. I'm not sure which program has the
bug; AVR GCC or AVR Studio 4. Let me explain:
I'm using AVR Studio 4 and making the project in AVR GCC. My OS is Windows XP
so all my directory slashes are backwards "\". I use the Project Configuration
Options to set up my Include & Library file paths, so I didn't need an external
makefile. The Configuration Options uses a graphic tree to show the path
chosen. There seems no way to edit it manually. The program compiled and
worked correctly. My complaint is that I discovered an error in the file paths
when I tried to look at some of the files under External Dependencies in the
AVR GCC Project Window. None would open. Clicking on File Properties created
this Error message in the Messages Window:
gcc plug-in: C:AVR_Libcavrinclude\util\delay.h contains an invalid path.
gcc plug-in: C:AVR_Libcavrinclude\avr\io.h contains an invalid path.
The correct paths are:
C:AVR_Libc\avr\include\util\delay.h
C:AVR_Libc\avr\include\avr\io.h
As it happens both of these files are in sub-directories of
AVR_Libc\avr\include and the include statements in the program code use a
forward slash:
#include <avr/io.h>
#include <util/delay.h>
So I can see that where the backward slashes were used, they are ignored, but
the forward slashes are acknowledged.
I am afraid this is a bug in the program, but whether in AVR GCC or AVR Studio
I don't know. I think if I could enter the path using forward slashes, into
the Configuration Options, there would be no error. But I haven't found a way
to do that.
I hope this contributes to the further improvement/development of these
programs as I enjoy working with them.
Thank You,
Roger Furer
rafurer@hawaii.rr.com
Here is version info from AVR STudio 4:
AVR Studio 4.12.462 Service Pack 1
GUI Version 4, 12, 0, 462
AVR Simulator 1, 0, 1, 6
ATMEGA169 257
Operating System
Major 5
Minor 1
PlatformID 2
Build 2600
Service Pack 2
Plugins:
AvrLcdPlugin 1, 0, 0, 13
AvrPluginAvrAsmObject 1, 0, 0, 43
AvrPluginavrgccplugin 1, 0, 0, 5
I don't know where to find the info for AVR GCC. I'm using WinAVR (20060421)
There is an avr-gcc-3.4.6 in the \bin directory (also an avr-gcc.exe) I don't
know what AVR Studio is using.
AVRLibc is 1.4.4
My OS is Windows XP Pro, version 2002, Service Pack 2.
--
Summary: Cofiguration Options creates erroneous path in AVR GCC
window
Product: gcc
Version: 3.4.6
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rafurer at hawaii dot rr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28336
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/28336] Cofiguration Options creates erroneous path in AVR GCC window
2006-07-11 9:22 [Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window rafurer at hawaii dot rr dot com
@ 2006-07-11 10:51 ` pinskia at gcc dot gnu dot org
2006-07-11 14:15 ` eweddington at cso dot atmel dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-11 10:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-11 10:51 -------
What happens if you use "\\" instead of "\" ? From the sound of it, \ is being
recongized as the escape character?
Also this does not sound related to GCC if you are using an IDE.
What happens if you invoke GCC directly?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |other
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28336
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/28336] Cofiguration Options creates erroneous path in AVR GCC window
2006-07-11 9:22 [Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window rafurer at hawaii dot rr dot com
2006-07-11 10:51 ` [Bug other/28336] " pinskia at gcc dot gnu dot org
@ 2006-07-11 14:15 ` eweddington at cso dot atmel dot com
2006-07-11 20:05 ` rafurer at hawaii dot rr dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: eweddington at cso dot atmel dot com @ 2006-07-11 14:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from eweddington at cso dot atmel dot com 2006-07-11 14:15 -------
"My complaint is that I discovered an error in the file paths
when I tried to look at some of the files under External Dependencies in the
AVR GCC Project Window. None would open. Clicking on File Properties created
this Error message in the Messages Window:
gcc plug-in: C:AVR_Libcavrinclude\util\delay.h contains an invalid path.
gcc plug-in: C:AVR_Libcavrinclude\avr\io.h contains an invalid path."
This is a problem in AVR Studio and not in the WinAVR distribution of AVR GCC.
I would strongly suggest that you try AVR Studio 4.12 Service Pack 2 (at a
minimum): <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2725>
This is known to work with WinAVR 20060421. If you continue to have problems in
AVR Studio, then please conatact the AVR group in Atmel (see email address
within AVR Studio Help).
GCC Bugmasters: Please close this bug as invalid
--
eweddington at cso dot atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eweddington at cso dot atmel
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28336
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/28336] Cofiguration Options creates erroneous path in AVR GCC window
2006-07-11 9:22 [Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window rafurer at hawaii dot rr dot com
2006-07-11 10:51 ` [Bug other/28336] " pinskia at gcc dot gnu dot org
2006-07-11 14:15 ` eweddington at cso dot atmel dot com
@ 2006-07-11 20:05 ` rafurer at hawaii dot rr dot com
2006-07-11 20:37 ` pinskia at gcc dot gnu dot org
2006-07-11 21:29 ` rafurer at hawaii dot rr dot com
4 siblings, 0 replies; 6+ messages in thread
From: rafurer at hawaii dot rr dot com @ 2006-07-11 20:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rafurer at hawaii dot rr dot com 2006-07-11 20:04 -------
Subject: Re: Cofiguration Options creates erroneous path
in AVR GCC window
Aloha,
Thanks for the tip. I followed your advice and it did indeed
correct the problem. My files in External Dependencies have their
proper path names.
Thank You,
Roger Furer
eweddington at cso dot atmel dot com wrote:
> ------- Comment #2 from eweddington at cso dot atmel dot com 2006-07-11 14:15 -------
> "My complaint is that I discovered an error in the file paths
> when I tried to look at some of the files under External Dependencies in the
> AVR GCC Project Window. None would open. Clicking on File Properties created
> this Error message in the Messages Window:
>
> gcc plug-in: C:AVR_Libcavrinclude\util\delay.h contains an invalid path.
> gcc plug-in: C:AVR_Libcavrinclude\avr\io.h contains an invalid path."
>
> This is a problem in AVR Studio and not in the WinAVR distribution of AVR GCC.
>
> I would strongly suggest that you try AVR Studio 4.12 Service Pack 2 (at a
> minimum): <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2725>
> This is known to work with WinAVR 20060421. If you continue to have problems in
> AVR Studio, then please conatact the AVR group in Atmel (see email address
> within AVR Studio Help).
>
> GCC Bugmasters: Please close this bug as invalid
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28336
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/28336] Cofiguration Options creates erroneous path in AVR GCC window
2006-07-11 9:22 [Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window rafurer at hawaii dot rr dot com
` (2 preceding siblings ...)
2006-07-11 20:05 ` rafurer at hawaii dot rr dot com
@ 2006-07-11 20:37 ` pinskia at gcc dot gnu dot org
2006-07-11 21:29 ` rafurer at hawaii dot rr dot com
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-11 20:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-07-11 20:37 -------
Invalid as requested.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28336
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/28336] Cofiguration Options creates erroneous path in AVR GCC window
2006-07-11 9:22 [Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window rafurer at hawaii dot rr dot com
` (3 preceding siblings ...)
2006-07-11 20:37 ` pinskia at gcc dot gnu dot org
@ 2006-07-11 21:29 ` rafurer at hawaii dot rr dot com
4 siblings, 0 replies; 6+ messages in thread
From: rafurer at hawaii dot rr dot com @ 2006-07-11 21:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rafurer at hawaii dot rr dot com 2006-07-11 21:29 -------
Aloha,
Just to let you know, updating the service pack eliminated the problem.
Thank You,
Roger
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28336
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-07-11 21:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-11 9:22 [Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window rafurer at hawaii dot rr dot com
2006-07-11 10:51 ` [Bug other/28336] " pinskia at gcc dot gnu dot org
2006-07-11 14:15 ` eweddington at cso dot atmel dot com
2006-07-11 20:05 ` rafurer at hawaii dot rr dot com
2006-07-11 20:37 ` pinskia at gcc dot gnu dot org
2006-07-11 21:29 ` rafurer at hawaii dot rr dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).