avr-gcc-list
[Top][All Lists]
Advanced

[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


From: Eric Weddington
Subject: Re: [avr-gcc-list] ld: crts8515.o: No such file; with avr-gcc under Linux
Date: Tue, 29 Nov 2005 08:41:54 -0700
User-agent: 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.

Hmpf.


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.


--
Eric Weddington




reply via email to

[Prev in Thread] Current Thread [Next in Thread]