Just did my own build of Atmel-3.5.0 avr-gcc for AVR8

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Just built the new Atmel-3.5.0 compiler on my Core i7 / mint-17-x64

 

http://distribute.atmel.no/tools...

 

avr-gcc -v
Using built-in specs.
Reading specs from /usr/local/avr/lib/gcc/avr/4.9.2/device-specs/specs-avr2
COLLECT_GCC=avr-gcc
COLLECT_LTO_WRAPPER=/usr/local/avr/libexec/gcc/avr/4.9.2/lto-wrapper
Target: avr
Configured with: /home/avr/builddir/src/gcc/configure LDFLAGS=-L/usr/local/avr/hostlibs/lib CPPFLAGS= --target=avr --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr/local/avr --libdir=/usr/local/avr/lib --enable-languages=c,c++ --with-dwarf2 --enable-doc --disable-shared --disable-libada --disable-libssp --disable-nls --with-avrlibc=yes --with-mpfr=/usr/local/avr/hostlibs --with-gmp=/usr/local/avr/hostlibs --with-mpc=/usr/local/avr/hostlibs --with-pkgversion=AVR_8_bit_GNU_Toolchain_3.5.0-Bingo_201511151947 --with-bugurl=http://www.atmel.com
Thread model: single
gcc version 4.9.2 (AVR_8_bit_GNU_Toolchain_3.5.0-Bingo_201511151947)
 

 

 

cat make.log
Using 'src' as source folder.
Unpacking gmp...                                    OK
Unpacking mpfr...                                   OK
Unpacking mpc...                                    OK
Unpacking gmp...                                    OK
Unpacking mpfr...                                   OK
Unpacking mpc...                                    OK
Unpacking ncurses...                                OK
Building Binutils for avr...                        OK
Installing binutils for avr...                      OK
Building libgmp ...                                 OK
Installing gmp ...                                  OK
Building libmpfr ...                                OK
Installing mpfr ...                                 OK
Building libmpc ...                                 OK
Installing mpc ...                                  OK
Building bootstrap GCC for avr...                   OK
Installing bootstrap GCC for avr...                 OK
Building avr-libc ...                               OK
Installing avr-libc ...                             OK
Building libgmp ...                                 OK
Installing gmp ...                                  OK
Building libmpfr ...                                OK
Installing mpfr ...                                 OK
Building libmpc ...                                 OK
Installing mpc ...                                  OK
Building full GCC for avr...                        OK
Installing full GCC for avr...                      OK
Building ncurses ...                                OK
Installing ncurses ...                              OK
Building GDB for avr...                             OK
Installing GDB for avr...                           OK
Building GDB for avr...                             OK
Installing GDB for avr...                           OK
Stripping binaries and libraries...                 /usr/local/avr/libexec/gcc/avr/4.9.2/liblto_plugin.a
OK
Finished at Sun Nov 15 20:32:08 CET 2015
Task completed in 0 hours, 44 minutes and 57 seconds.

 

I did a small correction in my build , and made sure the new hostlibs resides inside the "PrefixDir" instead of as "PrefixDir-hostlibs"

Why did Atmel put files outside $PREFIX ??????

 

Well i also added -Bingo to the version string.

 

And used some newer/current "support libs" gmp,mpfr etc.

 

If there is some interest i could build it for RasPI , and upload a .deb package on Cliff's site

 

/Bingo

 

Edit: Took 1 hr on a Corei5 , it's a heavy job

 

Finished at Sun Nov 15 20:50:05 CET 2015
Task completed in 1 hours, 0 minutes and 13 seconds.

 

And for a RasPi

Finished at Mon Nov 16 18:47:05 CET 2015
Task completed in 21 hours, 14 minutes and 24 seconds.

 

Last Edited: Mon. Nov 16, 2015 - 08:44 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

Well i did a RasPi package anyway

 

Get it from:

 

http://www.wrightflyer.co.uk/avr...

 

Get

atmel-3.5.0-avr-gcc-4.9.2-2015-11-16-raspbian.armhf.deb
atmel-3.5.0-avr-gcc-4.9.2-2015-11-16-raspbian.armhf.txt

 

Make sure that /usr/local/avr is not existing on your RasPi before install , and make sure to install libusb for avrdude

 

/Bingo

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just updated to avrdude 6.2 , in the new package - dated 2015-11-19

/Bingo