unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Add GCC cross compiler for arm-none-eabi.
@ 2016-09-18  6:35 Ricardo Wurmus
  2016-09-18  6:35 ` [PATCH 1/3] gnu: Add arm-none-eabi cross compiler Ricardo Wurmus
                   ` (5 more replies)
  0 siblings, 6 replies; 29+ messages in thread
From: Ricardo Wurmus @ 2016-09-18  6:35 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

here's a patch series I've been sitting on for about a year.  It's a compiler
for bare-metal binaries targetting arm-none-eabi.  I'm using this successfully
to compile ChibiOS for the Axoloti Core board.

I've chosen to package the particular compiler version that is used for the
Axoloti Core, so this is equivalent to what the GNU ARM Embedded Toolchain
project provides with the "4.9-2015-q2-update" release (see
https://launchpadlibrarian.net/209776344/release.txt).  I used SVN revisions
because certain ARM patches are not part of the standard release tarball; they
are only in SVN.

I did update newlib to the very latest release, however, because it seems to
work just fine.

I don't know if it's okay to keep older versions of the cross compiler.  For
version 4.9 the GNU ARM Embedded Toolchain project made another release
"4.9-2015-q3-update".  It's probably better to at least use the upstream
versions they used for that release instead of basing things on
"4.9-2015-q2-update".

I have no idea if we can build our own version of 4.9 from a later revision,
because I don't know exactly what patches I'd need to backport.  If somebody
knows better I'd appreciate hints.

~~ Ricardo


Ricardo Wurmus (3):
  gnu: Add arm-none-eabi cross compiler.
  gnu: Add newlib-arm-none-eabi.
  gnu: Add newlib-nano-arm-none-eabi.

 gnu/local.mk               |   1 +
 gnu/packages/bootstrap.scm |   1 +
 gnu/packages/embedded.scm  | 185 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 187 insertions(+)
 create mode 100644 gnu/packages/embedded.scm

-- 
2.10.0

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2016-11-26  8:55 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-18  6:35 [PATCH 0/3] Add GCC cross compiler for arm-none-eabi Ricardo Wurmus
2016-09-18  6:35 ` [PATCH 1/3] gnu: Add arm-none-eabi cross compiler Ricardo Wurmus
2016-09-21  8:34   ` Ludovic Courtès
2016-09-18  6:35 ` [PATCH 2/3] gnu: Add newlib-arm-none-eabi Ricardo Wurmus
2016-09-21  8:38   ` Ludovic Courtès
2016-09-18  6:35 ` [PATCH 3/3] gnu: Add newlib-nano-arm-none-eabi Ricardo Wurmus
2016-09-21  8:40   ` Ludovic Courtès
2016-10-02 18:47     ` Ricardo Wurmus
2016-09-19 20:23 ` [PATCH v2 0/4] Add GCC cross compiler for arm-none-eabi Theodoros Foradis
2016-09-19 20:23   ` [PATCH v2 1/4] gnu: Add arm-none-eabi cross compiler Theodoros Foradis
2016-09-19 20:23   ` [PATCH v2 2/4] gnu: Add arm-none-eabi-gcc-6 and patches Theodoros Foradis
2016-10-10 20:22     ` Ricardo Wurmus
2016-09-19 20:23   ` [PATCH v2 3/4] gnu: Add newlib-arm-none-eabi Theodoros Foradis
2016-09-19 20:23   ` [PATCH v2 4/4] gnu: Add arm-none-eabi-toolchain Theodoros Foradis
2016-09-27  9:03   ` [PATCH v2 0/4] Add GCC cross compiler for arm-none-eabi Ludovic Courtès
2016-09-29  9:24     ` Ricardo Wurmus
2016-09-29 17:39       ` Theodoros Foradis
2016-10-10 18:09       ` Theodoros Foradis
2016-10-10 18:23         ` Ricardo Wurmus
2016-10-11 15:50           ` theodoros.for
2016-10-16 10:01           ` Ricardo Wurmus
2016-10-23 17:01             ` Theodoros Foradis
2016-11-26  8:55               ` Ricardo Wurmus
2016-09-20 10:50 ` [PATCH v2 0/1] " Theodoros Foradis
2016-09-20 10:50   ` [PATCH v2 1/4] gnu: Add arm-none-eabi cross compiler Theodoros Foradis
2016-09-20 10:50   ` [PATCH v2 2/4] gnu: Add arm-none-eabi-gcc-6 and patches Theodoros Foradis
2016-09-20 10:50   ` [PATCH v2 3/4] gnu: Add newlib-arm-none-eabi Theodoros Foradis
2016-09-20 10:50   ` [PATCH v2 4/4] gnu: Add arm-none-eabi-toolchain Theodoros Foradis
2016-09-21  8:30 ` [PATCH 0/3] Add GCC cross compiler for arm-none-eabi Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).