Pages: [1]   Go Down
Author Topic: Using the winavr tools inside Arduino dist  (Read 397 times)
0 Members and 1 Guest are viewing this topic.
SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6378
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In theory, an arduino install for Windows or Mac includes a complete avr-gcc toolset ("winavr" on Windows.)  And in theory if you want to write bare avr-gcc code (or do something like, say, recompile optiboot) you can use the toolset included with an arduino install rather than having to install another copy of winavr separately.

This works nicely for me on Mac, but I have the Mac developer tools installed as well, and who knows which version of "make" and etc I'm really running.

On windows, though, "ld" is crashing (actually CRASHING - pops up a "send problem report to Microsoft" window) on me, when I try to "make atmega328" in the optiboot dir.   Is anyone else having this problem ?  I am running WXP under virtual Box on the Mac, so it's not exactly a typical system...
Logged

Pages: [1]   Go Up
Jump to: