[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73118] [PATCH 1/5] Fix native-search-paths of arm-none-eabi toolcha
From: |
Rutherther |
Subject: |
[bug#73118] [PATCH 1/5] Fix native-search-paths of arm-none-eabi toolchains |
Date: |
Sun, 08 Sep 2024 07:48:52 +0000 |
The toolchains CROSS_CPLUS_INCLUDE_PATH had C include directory
first, and the C++ as second. Since <cstdlib> does #include_next <stdlib.h>,
the toolchains could not build anything using <cstdlib>. The C include
has to come later than C++ one. This is already fixed in xgcc search-path.
---
gnu/packages/embedded.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index bee65663b6..a7ba9ebe98 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -201,9 +201,9 @@ (define make-gcc-arm-none-eabi-4.9
(files '("arm-none-eabi/include")))
(search-path-specification
(variable "CROSS_CPLUS_INCLUDE_PATH")
- (files '("arm-none-eabi/include"
- "arm-none-eabi/include/c++"
- "arm-none-eabi/include/c++/arm-none-eabi")))
+ (files '("arm-none-eabi/include/c++"
+ "arm-none-eabi/include/c++/arm-none-eabi"
+ "arm-none-eabi/include")))
(search-path-specification
(variable "CROSS_LIBRARY_PATH")
(files '("arm-none-eabi/lib")))))))))
@@ -423,9 +423,9 @@ (define make-gcc-arm-none-eabi-7-2018-q2-update
(files '("arm-none-eabi/include")))
(search-path-specification
(variable "CROSS_CPLUS_INCLUDE_PATH")
- (files '("arm-none-eabi/include"
- "arm-none-eabi/include/c++"
- "arm-none-eabi/include/c++/arm-none-eabi")))
+ (files '("arm-none-eabi/include/c++"
+ "arm-none-eabi/include/c++/arm-none-eabi"
+ "arm-none-eabi/include")))
(search-path-specification
(variable "CROSS_LIBRARY_PATH")
(files '("arm-none-eabi/lib")))))))))
--
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 <=
- [bug#73118] [PATCH 2/5] Fix lib directory of arm-none-eabi libstdc++, Rutherther, 2024/09/08
- [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