Want to try out stable GCC 7 on your LPC/Kinetis?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Want to try out stable GCC 7 on your LPC/Kinetis?

1,456 Views
freddiechopin
Contributor I

EDIT: Stable GCC 7.1.0 is already released - see my reply below for details!

If you're very impatient waiting for the full GCC 7.1.0 release (expected this month), there's absolutely no need to wait any longer (; You can try experimental GCC 7 version with your LPC (or Kinetis) microcontroller right now (;

 

$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (bleeding-edge-toolchain) 7.0.1 20170402 (experimental)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

GitHub - FreddieChopin/bleeding-edge-toolchain at gcc-7-experimental 

 

The script is able to produce a working toolchain for Linux. It is also possible to cross-compile a toolchain for Windows (32-bit or 64-bit) - either in Linux or in "Bash on Ubuntu on Windows" (I've heard it can be done, but the process is painfully slow - who would expect that? (; ).

 

I've tested that toolchain briefly and it appears to work fine (;

Tags (2)
3 Replies

884 Views
freddiechopin
Contributor I

Stable GCC 7.1.0 was released yesterday, and you can already use it with your LPC/Kinetis microcontrollers (;

Components:

  • gcc-7.1.0
  • newlib-2.5.0.20170421
  • binutils-2.28
  • gdb-7.12.1
  • expat-2.2.0
  • gmp-6.1.2
  • isl-0.18
  • libiconv-1.15 (Windows only)
  • mpc-1.0.3
  • mpfr-3.1.5
  • python-2.7.13 (Windows only)
  • zlib-1.2.11

$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (bleeding-edge-toolchain) 7.1.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


You can download Windows binaries (both 32-bit and 64-bit) and the Linux script from my personal website - http://www.freddiechopin.info/en > Download > Software > bleeding-edge-toolchain

0 Kudos
Reply

883 Views
marcprager
Contributor III

Thank you for this information and the 'history background' there. I wasn't aware of the problems with Cortex-M4 although I noticed some problems, when building my toolchains for my controllers.

Marc

0 Kudos
Reply

884 Views
soledad
NXP Employee
NXP Employee

HI Freddie,

Thank you for your input.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply