Wednesday, 28 October 2015

[gccsdk] cross-compiling using gcc5 on the host 2

There is also a mod required to the cfns.gperf file, which creates cfns.h, to make the output in the cfns.h file consistent .. this is in recipe/patches/gcc and is named gcc/cp/cfns.gperf


Again, I suspect, but cannot currently prove, this this will also be back compatible



Index: gcc/cp/cfns.gperf
===================================================================
--- gcc/cp/cfns.gperf    (revision 229481)
+++ gcc/cp/cfns.gperf    (working copy)
@@ -18,11 +18,25 @@
 <http://www.gnu.org/licenses/>.  */
 #ifdef __GNUC__
 __inline
+#else
+#ifdef __cplusplus
+inline
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
+__attribute__ ((__gnu_inline__))
 

No comments:

Post a Comment