Ein Problem mit gcc

Gast #722801
Lesenswert?

Hallo!

Ich hab heute meinen Rechner neu installiert. So nach dem ich winavr 
installiert habe und weiter code wollte kommt der Fehler.

> "make.exe" all

-------- begin --------
Programm zu groá fr den Arbeitsspeicher

Compiling C: helloled.c
avr-gcc -c -mmcu=atmega128 -I. -g -DF_CPU=8000000UL -Os -funsigned-char 
-funsigned-bitfields -fpack-struct -fshort-enums -Wall 
-Wstrict-prototypes -Wa,-adhlns=obj/helloled.lst  -std=gnu99 -Wundef 
-MMD -MP -MF .dep/helloled.o.d helloled.c -o obj/helloled.o
process_begin: CreateProcess(C:\WinAVR-20070525\bin\avr-gcc.exe, avr-gcc 
-c -mmcu=atmega128 -I. -g -DF_CPU=8000000UL -Os -funsigned-char 
-funsigned-bitfields -fpack-struct -fshort-enums -Wall 
-Wstrict-prototypes -Wa,-adhlns=obj/helloled.lst -std=gnu99 -Wundef -MMD 
-MP -MF .dep/helloled.o.d helloled.c -o obj/helloled.o, ...) failed.
make (e=87): Falscher Parameter.

make.exe: *** [obj/helloled.o] Error 87

> Process Exit Code: 2
> Time Taken: 00:00

Testerhalber habe ich erstmal das Programm versucht zu kompilieren...

#include <avr/io.h>          // (1)

int main (void) {            // (2)

   DDRB  = 0xff;             // (3)
   PORTB = 0x03;             // (4)

   while(1) {                // (5a)
     /* "leere" Schleife*/;  // (5b)
   }                         // (5c)

   /* wird nie erreicht */
   return 0;                 // (6)
}

lg Max
Gast #722807
Lesenswert?

Joa das hat mich auch stutzig gemacht, aber na ja...

Mein Recher ist ein Intel Centrino 1.76Mhz mit 2GB Arbeitsspeicher. 
Windows XP Home ist momentan drauf.

Am makefile kann es nicht liegen, weil es das gleiche ist, dass ich auch 
vor dem neuinstallation genommen habe. Und da ging es super.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren