-
Notifications
You must be signed in to change notification settings - Fork 21
Compiling with avr gcc 4.9.2 under Windows
NicoHood edited this page May 5, 2016
·
1 revision
Extracted from the old Wordpress blog.
Yeah you heard right! The newest, hottest and sexiest avr-gcc is now available, for windows! This tutorial also works for older versions like 4.7.2 or 4.8.1 though. I still have no idea how to use 4.9.2 with linux, but at least 4.8.1 is working.
- The process is fairly simple. Download the "latest" WinAVR release and install it (it's very old).
- As described in the german tutorial download the lastest WinAVR compile patch from here.
- Backup the old release
- Copy and replace all new files into the WinAVR installation path.
- Check the version with an administrative cmd: avr-gcc -v
- Patch the WinAVR release with this solution if its not working.
- Compile your stuff. Try something like my HoodLoader2 bootloader.
- Thats it.
Optionally you can also try the official atmel toolchain as described here. Make sure that you remove WinAVR from your systems PATH variable then. You can access it via computer, properties, advanced settings, environment variables and add an entry at the bottom called "PATH" and add the paths listed there. At the date of writing this post, the atmel toolchain for windows "only" supports avr-gcc 4.8.1
- Home
- Old Blog Posts
- Support/Contact
- Projects Overview
- Projects contributed to
- ArchLinux
- Raspberry