[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libstdc++ for cross compilers
From: |
Ricardo Wurmus |
Subject: |
libstdc++ for cross compilers |
Date: |
Mon, 10 Apr 2017 15:24:58 +0200 |
User-agent: |
mu4e 0.9.18; emacs 25.1.1 |
Hi Guix,
I’m trying to update my custom package for the Axoloti audio board,
which is not yet in Guix because it depends on bundled Java jars. The
package includes a user interface written in Java and a cross-compiled
firmware for the board.
The latest version includes C++ sources for the firmware.
Unfortunately, our “arm-none-eabi” cross-compiler package does not
build libstdc++, nor does it come with any of the required C++ headers
like “cmath”.
So I tried to change our “arm-none-eabi” cross-compiler packages to also
build and install libstdc++ but failed in a multitude of ways. The end
result is always that either the compiler fails to build (e.g. when
enabling libstdc++ via configure flags) or that the compiler fails to
find the header files that are included via “#include_next” directives
(e.g. when building libstdc++ as a separate package).
Could someone with GCC experience give me a hint despite my vague
problem description?
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
- libstdc++ for cross compilers,
Ricardo Wurmus <=