GNU bug report logs -
#27018
[PATCH 0/5] Cross-compiler fixes
Previous Next
Reported by: Ricardo Wurmus <rekado <at> elephly.net>
Date: Mon, 22 May 2017 13:57:02 UTC
Severity: normal
Tags: patch
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Guix,
my goal here was to get a working C++ cross-compiler for arm-none-eabi (for
the Axoloti audio board). While doing this I remembered that
"gcc-arm-none-eabi-4.9" was using "%xgcc" (which happens to be gcc-5) instead
of "gcc-4.9" because of the way that "cross-gcc" works.
The first few patches change "cross-gcc" and its users such that a xgcc
argument can be supplied (it defaults to %xgcc). With that out of the way I
built libstdc++ for arm-none-eabi and added it to the arm-none-eabi-toolchain.
I also changed the toolchain package to present the union of all inputs at the
output. That makes it much nicer for other packages to use the toolchain as
an input, because it actually contains files.
I have already successfully built the Axoloti firmware with the new toolchain,
and I'm preparing a patch set to finally add it (and the Java patcher UI) to
Guix proper.
Ricardo Wurmus (5):
gnu: Allow overriding of xgcc package in cross-gcc.
gnu: avr-gcc-4.9: Use gcc-4.9 as base compiler.
gnu: Add libstdc++-arm-none-eabi.
gnu: arm-none-eabi-toolchain: Provide union of all inputs at the
output.
gnu: arm-none-eabi-toolchain: Include libstdc++.
gnu/packages/avr.scm | 4 ++--
gnu/packages/cross-base.scm | 28 ++++++++++++++++------------
gnu/packages/embedded.scm | 43 +++++++++++++++++++++++++++++++++++++++----
3 files changed, 57 insertions(+), 18 deletions(-)
--
2.12.2
This bug report was last modified 8 years and 57 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.