[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] ld: crts8515.o: No such file; with avr-gcc under Linu
Re: [avr-gcc-list] ld: crts8515.o: No such file; with avr-gcc under Linux
Tue, 29 Nov 2005 08:41:54 -0700
Mozilla Thunderbird 1.0.2 (Windows/20050317)
Günter Dannoritzer wrote:
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...
Yes, this is the correct way. And you can see this in the WinAVR
Makefile Template too.
Re: [avr-gcc-list] ld: crts8515.o: No such file; with avr-gcc under Linux, Günter Dannoritzer, 2005/11/27