Danke erstmal, mittlerweile siehts schon wieder anders aus,
Ich bekomm jetzt diese Fehlermeldung:

Linking: helloc.elf
avr-gcc -mmcu=atmega8 -I. -gdwarf-2 -DF_CPU=3686400UL -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns= -std=c99 -MD -MP -MF .dep/helloc.elf.d --output helloc.elf -Wl,-Map=helloc.map,--cref -lm
H:/WinAVR/bin/../lib/gcc/avr/3.4.5/../../../../avr/lib/avr4/crtm8.o: In function `__vectors':
../../../../../avr-libc-1.4.3/crt1/gcrt1.S:51: undefined reference to `main'
make.exe: *** [helloc.elf] Error 1

Hat anscheinend was mit der library zu tun, aber meine Erfahrung mit winavr ist ja noch sehr beschränkt...


Hier nochmal der code:
------------------------------------------------------------------
#include <avr/io.h>

#define SYSCLK 3686400

void init(void);

int main(void)
{

init();

return 0;
}

// Initialisierung
void init(void)
{

DDRB = 0xff; // PortB als Ausgang deklarieren
PORTB = 0x00; // Ports auf LOW schalten

}