[Bug c/28336] New: Cofiguration Options creates erroneous path in AVR GCC window

rafurer at hawaii dot rr dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 11 09:22:00 GMT 2006


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



More information about the Gcc-bugs mailing list