unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* libstdc++ for cross compilers
@ 2017-04-10 13:24 Ricardo Wurmus
  2017-04-12  9:24 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2017-04-10 13:24 UTC (permalink / raw)
  To: help-guix

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

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

end of thread, other threads:[~2017-05-21 13:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-10 13:24 libstdc++ for cross compilers Ricardo Wurmus
2017-04-12  9:24 ` Ludovic Courtès
2017-04-13  8:54   ` Ricardo Wurmus
2017-05-20 10:10     ` Ricardo Wurmus
2017-05-21 13:09       ` Ricardo Wurmus

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).