[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Cygwin paths causes problems for AVR Studio
From: |
Torleif Sandnes |
Subject: |
Re: [avr-gcc-list] Cygwin paths causes problems for AVR Studio |
Date: |
Mon, 04 Jul 2005 08:52:38 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
I've had to switch from WinAVR to Cygwin built tools as I need to
compile for the ATMega325 which isn't support under the current windows
toolset. My problem is that I would like to continue using AVR Studio
for debugging but cygwin inserts its path names (/cygdrive/c/..... )
into the ELF and subsequently my extended COFF has these paths which AVR
Studio can't decipher.
One solution may be to rewrite your makefile to use relative paths.
Like this:
OBJECTS=testVisibility.o anotherfile.o
SOURCES=../testVisibility.c ../anotherfile.c
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)
testVisibility.o: ..\testVisibility.c
$(CC) $(INCLUDES) $(CFLAGS) -c -Wall -gdwarf-2 -o testVisibility.o
"..\testVisibility.c"
anotherfile.o: ..\anotherfile.c
$(CC) $(INCLUDES) $(CFLAGS) -c -Wall -gdwarf-2 -o anotherfile.o
"..\anotherfile.c"
The elf/dwarf parser has code in it to handle the cygwin prefix, but this has
probably not been properly tested. I will add it to my buglist.
Torleif
- [avr-gcc-list] can't upgrade/patch for tiny13, Terry Karlson, 2005/07/01
- Re: [avr-gcc-list] can't upgrade/patch for tiny13, Joerg Wunsch, 2005/07/02
- [avr-gcc-list] Rowley Complier Vs GCC, Trampas, 2005/07/02
- [avr-gcc-list] Linker question, Trampas, 2005/07/02
- Re: [avr-gcc-list] Linker question, Ned Konz, 2005/07/03
- [avr-gcc-list] Cygwin paths causes problems for AVR Studio, Andrew M. Cullen, 2005/07/03
- Re: [avr-gcc-list] Cygwin paths causes problems for AVR Studio, Torleif Sandnes, 2005/07/04
- Re: [avr-gcc-list] Cygwin paths causes problems for AVR Studio, Andrew M. Cullen, 2005/07/07
- Re: [avr-gcc-list] Cygwin paths causes problems for AVR Studio, Torleif Sandnes, 2005/07/08
- Re: [avr-gcc-list] Cygwin paths causes problems for AVR Studio,
Torleif Sandnes <=
- RE: [avr-gcc-list] Cygwin paths causes problems for AVR Studio, Colin Paul Gloster, 2005/07/04
- RE: [avr-gcc-list] Linker question, Trampas, 2005/07/03
- Re: [avr-gcc-list] Linker question, Erik Christiansen, 2005/07/04
- Re: [avr-gcc-list] Rowley Complier Vs GCC, Joerg Wunsch, 2005/07/03
- Re: [avr-gcc-list] Rowley Complier Vs GCC, Anton Erasmus, 2005/07/04
- RE: [avr-gcc-list] Rowley Complier Vs GCC, stevech, 2005/07/04
- RE: [avr-gcc-list] Rowley Complier Vs GCC, Trampas, 2005/07/04
Re: [avr-gcc-list] can't upgrade/patch for tiny13, Terry Karlson, 2005/07/06