[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73118] [PATCH 2/5] Fix lib directory of arm-none-eabi libstdc++
From: |
Rutherther |
Subject: |
[bug#73118] [PATCH 2/5] Fix lib directory of arm-none-eabi libstdc++ |
Date: |
Sun, 08 Sep 2024 07:49:02 +0000 |
The libstdc++ made for arm-none-eabi puts the contents
into "lib" folder, but that's unexpected when the resulting
toolchain is a cross toolchain.
The folder should be "arm-none-eabi/lib"
---
gnu/packages/embedded.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index a7ba9ebe98..59ffd9a661 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -481,6 +481,8 @@ (define make-libstdc++-arm-none-eabi
(package
(inherit libstdc++)
(name "libstdc++-arm-none-eabi")
+ ; TODO When --libdir is specified, debug output is not produced.
+ (outputs '("out"))
(arguments
(substitute-keyword-arguments (package-arguments libstdc++)
((#:configure-flags _)
@@ -493,6 +495,9 @@ (define make-libstdc++-arm-none-eabi
"--disable-tls"
"--disable-plugin"
"--with-newlib"
+ ,(string-append "--libdir="
+ (assoc-ref %outputs "out")
+ "/arm-none-eabi/lib")
,(string-append "--with-gxx-include-dir="
(assoc-ref %outputs "out")
"/arm-none-eabi/include/c++")))))
--
2.45.2
- [bug#73118] [PATCH 0/5] Fix arm-none-eabi toolchains and introduce a newer version 12.3.rel1, Rutherther, 2024/09/08
- [bug#73118] [PATCH 1/5] Fix native-search-paths of arm-none-eabi toolchains, Rutherther, 2024/09/08
- [bug#73118] [PATCH 2/5] Fix lib directory of arm-none-eabi libstdc++,
Rutherther <=
- [bug#73118] [PATCH 3/5] Add libstdc++-nano for arm-none-eabi, Rutherther, 2024/09/08
- [bug#73118] [PATCH 4/5] Fix arm-none-eabi 7 newlib nano variant, Rutherther, 2024/09/08
- [bug#73118] [PATCH 5/5] Introduce arm-none-eabi 12.3.rel1 toolchain, Rutherther, 2024/09/08
- [bug#73118] [PATCH v2 0/5] Fix arm-none-eabi toolchains and introduce a newer version 12.3.rel1, Rutherther, 2024/09/13
- [bug#73118] [PATCH v2 2/5] gnu: make-libstdc++-arm-none-eabi: output libstdc++ to arm-none-eabi., Rutherther, 2024/09/13
- [bug#73118] [PATCH v2 1/5] gnu: make-gcc-arm-none-eabi: reorder C++ native search paths, Rutherther, 2024/09/13
- [bug#73118] [PATCH v2 5/5] gnu: arm-none-eabi toolchain 12.3.rel1, Rutherther, 2024/09/13
- [bug#73118] [PATCH v2 3/5] gnu: make-libstdc++-arm-none-eabi: add nano variant, Rutherther, 2024/09/13
- [bug#73118] [PATCH v2 4/5] gnu: newlib arm-none-eabi-7-2018-q2-update: Add proper newlib-nano variant., Rutherther, 2024/09/13