Eric Weddington wrote:

You need to use the -mmcu= option for the link stage too, and specify your microcontroller type.

I actually used that Makefile with WinAVR before and it always worked. I tried it with the broken installation and it did not make any difference.

Now I am always a bit confused with the linker options. Do I need to add that to the -Wl switch or just pass it to avr-gcc?

So is this the right way:

  avr-gcc -mmcu=at90s8515 -Wl...

or does it need to be:

  avr-gcc -Wl,mmcu=at90s8515

Thanks for the help again.

Guenter


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to