[Top][All Lists]

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

Re: [avr-libc-dev] C Library mega16

From: Theodore A. Roth
Subject: Re: [avr-libc-dev] C Library mega16
Date: Mon, 8 Sep 2003 11:26:29 -0700 (PDT)

On Sun, 7 Sep 2003, Craig Pratt wrote:

> Hi
> I was looking for GNUC support for the mega16, you have it listed as
> supported by the library, but I can find no reference to it in the
> latest library. It is not yet supported by GNU, or am I looking in
> the wrong place?

Which versions of avr-libc, gcc and binutils are you using?

Works fine with my tools (avr-libc latest from cvs, gcc = 3.3.1,
binutils 2.14):

address@hidden:~/dev/test/test$ make
avr-gcc -g -Os -Wall -mmcu=atmega16     -c -o test.o test.c
avr-gcc -g -Os -Wall -mmcu=atmega16   -Wl,-Map,test.map -o test.elf test.o
avr-objdump -h -S test.elf > test.lst
avr-objcopy -j .text -j .data -O ihex test.elf test.hex
avr-objcopy -j .text -j .data -O binary test.elf test.bin
avr-objcopy -j .text -j .data -O srec test.elf test.srec
avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O ihex test.elf 
avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O binary test.elf 
avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O srec test.elf 

Ted Roth

reply via email to

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