avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Hello


From: Matt.VanDeWerken
Subject: RE: [avr-gcc-list] Hello
Date: Fri, 4 May 2007 10:02:08 +1000

That looks like it has compiled to me.
 
Cheers,
Matthew van de Werken - Electronics Engineer
CSIRO E&M - Mining Geoscience Group
1 Technology Court - Pullenvale - 4069
p: (07) 3327 4142 * f: (07) 3327 4455 * e: address@hidden
"We do not inherit the earth from our ancestors, we borrow it from our children."
-- Native American Proverb
-----Original Message-----
From: Prashant D. Kharade [mailto:address@hidden
Sent: Thursday, 3 May 2007 8:10 PM
To: Van De Werken, Matt (E&M, QCAT)
Subject: RE: [avr-gcc-list] Hello

-----Original Message-----
From: Prashant D. Kharade
Sent
:
Thursday, May 03, 2007 12:14 PM
To: '
address@hidden'
Subject: RE: [avr-gcc-list] Hello

 

Hello,

 

The error is as follows.

> "make.exe" all

 

-------- begin --------

avr-gcc (GCC) 4.1.1 (WinAVR 20070122)

Copyright (C) 2006 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: count.c

avr-gcc -c -mmcu=at90s8515 -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./count.lst  -std=gnu99 -Wundef -MMD -MP -MF .dep/count.o.d count.c -o count.o

 

Linking: count.elf

avr-gcc -mmcu=at90s8515 -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=count.o  -std=gnu99 -Wundef -MMD -MP -MF .dep/count.elf.d count.o --output count.elf -Wl,-Map=count.map,--cref     -lm

 

Creating load file for Flash: count.hex

avr-objcopy -O ihex -R .eeprom count.elf count.hex

 

Creating load file for EEPROM: count.eep

avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \

--change-section-lma .eeprom=0 --no-change-warnings -O ihex count.elf count.eep || exit 0

c:\WinAVR\bin\avr-objcopy.exe: there are no sections to be copied!

 

Creating Extended Listing: count.lss

avr-objdump -h -S count.elf > count.lss

 

Creating Symbol Table: count.sym

avr-nm -n count.elf > count.sym

 

Converting to AVR Extended COFF: count.cof

avr-objcopy --debugging --change-section-address .data-0x800000 --change-section-address .bss-0x800000 --change-section-address .noinit-0x800000 --change-section-address .eeprom-0x810000 -O coff-ext-avr count.elf count.cof

Warning: no "data" section found in output file

Warning: file C:/DOCUME~1/EWEDDI~1/LOCALS~1/Temp/ccUjaaaa.s not found in symbol table, ignoring

Warning: ignoring function __vectors() outside any compilation unit

Warning: ignoring function __bad_interrupt() outside any compilation unit

avr-objcopy: --change-section-vma .eeprom+0xff7f0000 never used

avr-objcopy: --change-section-lma .eeprom+0xff7f0000 never used

avr-objcopy: --change-section-vma .noinit+0xff800000 never used

avr-objcopy: --change-section-lma .noinit+0xff800000 never used

avr-objcopy: --change-section-vma .bss+0xff800000 never used

avr-objcopy: --change-section-lma .bss+0xff800000 never used

avr-objcopy: --change-section-vma .data+0xff800000 never used

avr-objcopy: --change-section-lma .data+0xff800000 never used

 

Size after:

AVR Memory Usage

----------------

Device: Unknown

 

Program:      92 bytes

(.text + .data + .bootloader)

 

Data:          0 bytes

(.data + .bss + .noinit)

 

-------- end --------

 

> Process Exit Code: 0

 

Thanks  & best regards

 

Prashant

 

 

 

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent:
Thursday, May 03, 2007 10:25 AM
To: Prashant D. Kharade
Subject: RE: [avr-gcc-list] Hello

 

What was the error?

 

 

Matthew van de Werken - Electronics Engineer
CSIRO E&M - Mining Geoscience Group
1 Technology Court - Pullenvale - 4069
p: (07) 3327 4142 * f: (07) 3327 4455 * e: address@hidden
"We do not inherit the earth from our ancestors, we borrow it from our children."
-- Native American Proverb

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Prashant D. Kharade
Sent:
Thursday, 3 May 2007 2:49 PM
To: address@hidden
Subject: [avr-gcc-list] Hello

Dear Sir,

I am totally new user of AVR GCC.

I have downloaded winavr version 4.1.1 from net on May 02,2007.

I also wrote a small C program on programmer’s notepad.

But I do not know how to compile it.

I tried but it gives error.

Please inform if we have to install anything apart from winavr?

Step by step process to compile the program.

Thanks & best regards

Prashant D. Kharade


reply via email to

[Prev in Thread] Current Thread [Next in Thread]