avr-gcc 4.7.2 - compiling problem with attiny4 on debian wheezy

Felipe Morato <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
Hello guys!

I hope this isn't basic stuff but I have already tried the docs and it
didn't help.

I've got an attiny4 and can't compile the code for it. I'll describe bellow:

My code is simply a blink led for testing it.

If I run "avr-gcc --target-help" the attiny shows up accordingly.
Though when I try to compile the code with "avr-gcc -mmcu=attiny4 -Wall
-Os -std=c99 -c main.c -o main.o"
it complains:
avr-gcc: error: unrecognized argument in option ‘-mmcu=attiny4’
avr-gcc: note: valid arguments to ‘-mmcu=’ are:
[here is a list of all supported ones that doesn't include attiny4,5,9,10]

I have also trying to use "avrtiny10" but it yielded the same.

Can someone help me get that compiled?
I hove i've provided enough info.

I really don't understand if this is a debian problem, if mine mistake
or if it's an avr-gcc one.
Thanks in advance!
-- 
Felipe Morato
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.